The tap-twitter-ads extractor pulls data from Twitter Ads that can then be sent to a destination using a loader.
Available Variants
- bytecodeio
- singer-io (default)
Getting Started
Prerequisites
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration
-
Add the tap-twitter-ads extractor to your project
using
:meltano add -
Configure the tap-twitter-ads settings using
:meltano config -
Test that extractor settings are valid using
:meltano config
meltano add extractor tap-twitter-adsmeltano config tap-twitter-ads set --interactivemeltano config tap-twitter-ads testNext steps
Follow the remaining steps of the Getting Started guide:
If you run into any issues, learn how to get help.
Capabilities
The current capabilities for
tap-twitter-ads
may have been automatically set when originally added to the Hub. Please review the
capabilities when using this extractor. If you find they are out of date, please
consider updating them by making a pull request to the YAML file that defines the
capabilities for this extractor.
This plugin has the following capabilities:
- catalog
- discover
- state
You can
override these capabilities or specify additional ones
in your meltano.yml by adding the capabilities key.
Settings
The
tap-twitter-ads settings that are known to Meltano are documented below. To quickly
find the setting you're looking for, click on any setting name from the list:
consumer_keyrequest_timeoutaccount_idsaccess_token_secretattribution_windowpage_sizeconsumer_secretaccess_tokencountry_codeswith_deletedstart_datereportsuser_agent
You can
override these settings or specify additional ones
in your meltano.yml by adding the settings key.
Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.
Consumer Key (consumer_key)
-
Environment variable:
TAP_TWITTER_ADS_CONSUMER_KEY
OAuth 1.0a credentials - Consumer Key
Request Timeout (request_timeout)
-
Environment variable:
TAP_TWITTER_ADS_REQUEST_TIMEOUT
To configure the read and connect timeout for twitter-ads client. Default is 300 seconds.
Account IDs (account_ids)
-
Environment variable:
TAP_TWITTER_ADS_ACCOUNT_IDS
Comma-delimited list of Twitter Ad Account IDs.
Access Token Secret (access_token_secret)
-
Environment variable:
TAP_TWITTER_ADS_ACCESS_TOKEN_SECRET
OAuth 1.0a credentials - Access Token Secret
Attribution Window (attribution_window)
-
Environment variable:
TAP_TWITTER_ADS_ATTRIBUTION_WINDOW
Number of days for latency look-back period to allow analytical reporting numbers to stabilize.
Page Size (page_size)
-
Environment variable:
TAP_TWITTER_ADS_PAGE_SIZE
An optional parameter to configure custom page_size.
Consumer Secret (consumer_secret)
-
Environment variable:
TAP_TWITTER_ADS_CONSUMER_SECRET
OAuth 1.0a credentials - Consumer Secret
Access Token (access_token)
-
Environment variable:
TAP_TWITTER_ADS_ACCESS_TOKEN
OAuth 1.0a credentials - Access Token
Country Codes (country_codes)
-
Environment variable:
TAP_TWITTER_ADS_COUNTRY_CODES
Comma-delimited list of ISO 2-letter country codes for targeting and segmentation. (e.g. "US, CA, MX, DE")
With Deleted (with_deleted)
-
Environment variable:
TAP_TWITTER_ADS_WITH_DELETED
Specifies whether to include logically deleted records in the results.
Start Date (start_date)
-
Environment variable:
TAP_TWITTER_ADS_START_DATE
Determines how much historical data will be extracted. Please be aware that the larger the time period and amount of data, the longer the initial extraction can be expected to take.
Reports (reports)
-
Environment variable:
TAP_TWITTER_ADS_REPORTS
Object array of specified reports with name, entity, segment, and granularity.
User Agent (user_agent)
-
Environment variable:
TAP_TWITTER_ADS_USER_AGENT
The user agent to send with requests.
Something missing?
This page is generated from a YAML file that you can contribute changes to.
Edit it on GitHub!Looking for help?
#plugins-general
channel.
Install
meltano add extractor tap-twitter-adsHomepage
Maintenance Status
Meltano Stats
PyPI Stats
Keywords
