Giter VIP home page Giter VIP logo

adwords's Introduction

Google Ads (adwords)

This package models Google Adwords data.

Here is info from Google's API.

Here is some additional information about packages in dbt. If you haven't already, you will need to create a packages.yml file in your project and supply the git link from this repository.

You should then copy the adwords package structure from the dbt_project.yml in this repository into your project's dbt_project.yml file and replace the # values with the adwords table names from your warehouse.

Please note, because several of the models are based on Adwords "reports" which have a layer of aggregation occurring, the specific fields you select in your ETL tool are very important in the output of the data. Selecting additional fields may cause unexpected fan out that these models will not account for. The recommendation is to track only fields in the models listed in the macros.

If your team uses UTM parameters for your campaigns, then you should supply the adapter_value var "url". This will query data from the adwords_url_performance model. If your account use gclids or a combination of UTMs and gclids (ie some urls with have just the gclid) then you should supply the adapter_value var "criteria". This will query data from the adwords_criteria_performance report.

Stitch

Here is info about Stitch's Adwords connector.

Fivetran

Here is info about Fivetran's Adwords connector.

Fivetran does not support the core tables. The core tables are accounts, ad_groups, ads, and campaigns.

adwords's People

Contributors

axelazaid avatar chrislawliss avatar datamie-simo avatar drewbanin avatar emilieschario avatar eogilvy12 avatar ericalouie avatar fokko avatar fred-shaykis avatar jdw818 avatar joellabes avatar jtcohen6 avatar jthandy avatar sanjanasen96 avatar stumelius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

adwords's Issues

The Adwords package needs to be refreshed to be remain compatible with Stitch (switched to new Adwords API)

Describe the feature

The package needs to be updated to reflect the new tables and structures being extracted due to Stitch leveraging the newer version of Adwords API.

Additional context

Stitch deprecated their Adwords connector in favor of a new one, due to Google recently launching a new AdWords API.

Who will this benefit?

This will benefit current and future Stitch users that use the Adwords connector. It would prevent a lot of re-work related to creating new macros for the new API. Stitch fully deprecated the old connector.

Upgrade dbt_utils to 0.8.0

Describe the feature

It seems advantageous to update the dbt_utils package version to support segment as these are commonly used together. See version mismatch in image below. It needs to be >=0.8.0.
Screen Shot 2022-02-03 at 4 43 49 PM

Describe alternatives you've considered

We've gone through all dependencies and downgraded each to make this work as a workaround, but this is now throwing some warnings.

Who will this benefit?

Anyone using the newest versions of segment and adwords packages will be affected by this.

dbt 0.17.0 Package Tidy Up

Repo checklist:

Urgent:

  • A require-dbt-version parameter in the dbt_project.yml:
require-dbt-version: [">=0.17.0", "<0.18.0"]
  • The dbt_project.yml is in version 2 format (upgrading docs)
  • Any sample dbt_project.yml snippets in the README.md are in v2 syntax (especially for packages that use vars
  • Release is of format major.minor.patch, e.g. 1.0.0
  • A license (example)
  • If this package relies on dbt-utils, make sure the range allows v0.4.x
packages:
  - package: fishtown-analytics/dbt_utils
    version: ["???", "<0.5.0"]

Integration tests

If this package has integration tests:

  • The dbt_project.yml of the integration tests is in v2 format
  • CircleCI uses python v3.6.3
  • The dbt_project.yml does not have a require-dbt-version config (it should be inherited from the package)

Not upgraded to config version 2

This package is no longer compatible with dbt v0.19.0. Is this still being actively maintained?

Encountered an error:
Runtime Error
  Failed to read package: Runtime Error
    Invalid config version: 1, expected 2

Remove Default`adwords_url_performance` enabled: false

With the recent update to use adwords_url_performance to feed into the adwords_ad_performance_adapter I think we should update the dbt_project.yml file to remove the disabled default on this model. If a use doesn't configure it true in their repository, it returns an error to run the package

Stitch schema differs depending on target database support for nested fields

This package is really helpful, thanks for building it. One issue we've run into is that Stitch is structuring our data slightly differently than what's expected by this package. Fields structured as arrays in the Adwords schema (e.g. the labels field in the ad_groups model) are being stored as separate tables rather than as fields containing nested data (we're using Redshift as our target database). Sorry if I'm missing something easy configuration-wise.

We could handle this problem on our end by writing some dbt models on top of the Stitch source data to put the data into the form this package expects, or by forking the repo and modifying the schema to match what Stitch is generating (found an example of someone else doing that as well).

I'm happy to go with one of those solutions if that's the best path forward. It this is something you think would be good to support within the package itself, I'd also be willing to try to put together a PR for that.

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.