Skip to content

isabella232/app-marketing-facebook-ads

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Ads

LookML files for analysis of Facebook Ads. This is designed to work with a ETL and data warehouse adapter that will map the data schema e.g. Fivetran BigQuery Facebook Ads.

To use this block, you will need to:

Include it in your manifest.lkml:

Note: This requires the Project Import feature currently in /admin/labs to be enabled on your Looker instance.

Via local projects:

Fork this repo and create a new project named app-marketing-facebook-ads-adapter

manifest.lkml

local_dependency: {
  project: "app-marketing-facebook-ads-adapter"
}


local_dependency: {
  project: "app-marketing-facebook-ads"
}```

Or remote dependency which don't require a local version.

manifest.lkml
```LookML

remote_dependency: app-marketing-facebook-ads-adapter {
  url: "git://github.com/looker/app-marketing-facebook-ads-fivetran-bigquery"
  ref: "16795ca4726f79f808d274a4765781c72c974d4b"
}

remote_dependency: app-marketing-facebook-ads {
  url: "git://github.com/looker/app-marketing-facebook-ads"
  ref: "5a7d003d98be5b5adc93d7fd90bdd4105461186a"
}```

Note that the `ref:` should point to the latest commit in each respective repo [facebook-ads-fivetran-bigquery](https://github.com/looker/app-marketing-facebook-ads-fivetran-bigquery/commits/master) and [facebook-ads](https://github.com/looker/app-marketing-facebook-ads/commits/master).

2. Create a `facebook_ads_config` view that is assumed by this project. This configuration requires a  file

For example:

facebook_ads_config.view.lkml
```LookML
view: facebook_ads_config {
  extension: required

  dimension: facebook_ads_schema {
    hidden: yes
    sql:facebook_ads;;
  }
}
  1. Include the view files in your model.

For example:

marketing_analytics.model.lkml

include: "/app-marketing-facebook-ads-adapter/*.view"
include: "/app-marketing-facebook-ads/*.view"
include: "/app-marketing-facebook-ads/*.dashboard"

For a reference of all of the fields names and definitions reference Facebook’s API documentation for breakdowns and parameters.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • LookML 100.0%