GithubHelp home page GithubHelp logo

isabella232 / app-marketing-facebook-ads-stitch-redshift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from looker/app-marketing-facebook-ads-stitch-redshift

0.0 0.0 0.0 66 KB

License: Other

LookML 100.00%

app-marketing-facebook-ads-stitch-redshift's Introduction

Facebook Ads

LookML files for a Facebook block compatible with Stitch's Facebook Ads Insights ETL.

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-stitch-redshift"
  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-stitch-redshift](https://github.com/looker/app-marketing-facebook-ads-stitch-redshift/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_stitch;;
  }
}
  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.

app-marketing-facebook-ads-stitch-redshift's People

Contributors

annaserova avatar dillonmorrison avatar gogosophia avatar jdavidson avatar justinlooker avatar lookering avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.