By Alex Rolnik

Twitter Ads - Databricks

Integrates with:

The Twitter Ads kit uses the associated Stats report as a base table and adds in the appropriate Entity Tables. Each kit will have the Tweet Information and associated metrics including: number of clicks, impressions, spend, video_views, conversion values, purchases, replies, retweets, follows, likes, and engagement by date.

This kit includes…

Twitter Promoted Tweets Rivers

  • Data ingestion rivers for Promoted Tweets Entity, Tweets Entity, Ad Groups Entity, Campaigns Entity, Accounts Entity, Cards Entity, Funding Instruments Entity, Promoted Tweets Stats
  • Master orchestration River
    • This includes logic to Join Entity/Stats Tables
  • Output Tables:
    • twitter_entity_accounts
    • twitter_entity_cards
    • twitter_entity_tweets
    • twitter_entity_campaigns
    • twitter_entity_fundinginstruments
    • twitter_entity_adgroups
    • twitter_entity_promotedtweets
    • twitter_stats_promotedtweets
    • twitter_promoted_tweets_stats (entity and stats combined)

Minimum RPU Consumption: 9

You can find the full contents, data model documentation, and source fields used here.

Configuring this template for use

Variables

In this Kit, there are two variables that need to be initialized to make for dynamic use of the target configuration. 

  • {Database_Twitter} is used in all Target configurations and queries as the target database name.
  • {Twitter_Failure_Group} is used as the alert email address(es) for when a river fails (optional).

Go to the Variables menu on the left side navigation bar and create variables for Database_Twitter and Twitter_Failure_Group. Then fill in the values as the Databricks database name where you would like the data to land and the email address(es) to which you would like the failure emails sent.

Connections

Kits are imported with ‘blank’ source and target connections. In order to use the Kit, you have two options:

  • Swap out blank connections with existing connections
  • Add credentials to the blank connections that come with the imported Kit

Minimize the firefighting.
Maximize ROI on pipelines.

icon icon