Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 2 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
<!--section="facebook-ads_transformation_model"-->
# Facebook Ads dbt Package

<p align="left">
<a alt="License"
href="https://github.com/fivetran/dbt_facebook_ads/blob/main/LICENSE">
<img src="https://img.shields.io/badge/License-Apache%202.0-blue.svg" /></a>
<a alt="dbt-core">
<img src="https://img.shields.io/badge/dbt_Core™_version->=1.3.0,_<3.0.0-orange.svg" /></a>
<a alt="Maintained?">
<img src="https://img.shields.io/badge/Maintained%3F-yes-green.svg" /></a>
<a alt="PRs">
<img src="https://img.shields.io/badge/Contributions-welcome-blueviolet" /></a>
<a alt="Fivetran Quickstart Compatible"
href="https://fivetran.com/docs/transformations/data-models/quickstart-management#quickstartmanagement">
<img src="https://img.shields.io/badge/Fivetran_Quickstart_Compatible%3F-yes-green.svg" /></a>
</p>

This dbt package transforms data from Fivetran's Facebook Ads connector into analytics-ready tables.

## Resources
Expand All @@ -29,6 +14,8 @@ This dbt package transforms data from Fivetran's Facebook Ads connector into ana
- [dbt Docs](https://fivetran.github.io/dbt_facebook_ads/#!/overview)
- [DAG](https://fivetran.github.io/dbt_facebook_ads/#!/overview?g_v=1)
- [Changelog](https://github.com/fivetran/dbt_facebook_ads/blob/main/CHANGELOG.md)
- dbt Core™ supported versions
- `>=1.3.0, <3.0.0`

## What does this dbt package do?
This package enables you to better understand the performance of your ads across varying grains and produces modeled tables that leverage Facebook Ads data. It creates enriched models with metrics focused on account, campaign, ad set, ad, and geographic reporting.
Expand Down
3 changes: 3 additions & 0 deletions integration_tests/dbt_project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ vars:
where_sql: source_relation != 'no_purchase_source' # @docs-ignore

models:
+persist_docs:
relation: true
columns: "{{ false if target.type in ('databricks') else true }}"
+schema: "facebook_ads_{{ var('directed_schema','dev') }}"

seeds:
Expand Down