Skip to Content
SourcesX (Twitter) AdsOverview

X (Twitter) Ads

Source — Vendo imports daily ad performance data from X (formerly Twitter) Ads, including promoted tweet metrics, campaign and line item hierarchy, and ad spend with currency conversion.

What Vendo Syncs

Ad Performance Data

Vendo imports daily ad-level metrics via the X Ads Async Analytics API:

MetricDescription
ImpressionsTotal ad impressions
ClicksAd clicks (URL clicks)
SpendAd spend converted from micro-units to dollars

Dimensions

DimensionDescription
Account IDX Ads advertiser account ID
Promoted Tweet IDIndividual ad identifier
Campaign ID & NameCampaign-level grouping
Line Item ID & NameLine item-level grouping
Destination URLLanding page or card URL
Report DateDate of performance data

UTM Parameters

Vendo automatically extracts UTM parameters from destination URLs:

  • utm_source
  • utm_medium
  • utm_campaign (falls back to campaign name if not set)
  • utm_term
  • utm_content

The utm_source_platform is automatically set to x.

See UTM Tracking for details.

Authentication

X Ads uses OAuth 1.0a with permanent tokens. You need to generate credentials from the X Developer Portal :

CredentialDescription
Consumer KeyAPI Key from your X Developer App
Consumer SecretAPI Secret from your X Developer App
Access TokenOAuth 1.0a access token
Access Token SecretOAuth 1.0a access token secret
Ad Account IDYour X Ads advertiser account ID

Setup

  1. In the Vendo app, navigate to Apps and click Add App
  2. Select X (Twitter) from the integration catalog
  3. Enter your OAuth 1.0a credentials:
    • Consumer Key and Consumer Secret from your X Developer App
    • Access Token and Access Token Secret generated for your app
    • Ad Account ID from X Ads Manager
  4. Vendo validates the credentials against the X Ads API
  5. Configure your reporting currency and sync schedule

Platform Details

SettingValue
Ad PlatformX (Twitter) Ads
APIX Ads API v12 (entities), v9 (async analytics)
Sync MethodAsync analytics jobs with polling
Reporting GranularityDaily, by promoted tweet
Entity HierarchyCampaign > Line Item > Promoted Tweet
Click ID ParameterNone (UTM-based attribution)

Currency Conversion

Ad spend is reported in micro-units (billed_charge_local_micro) and automatically converted:

  1. Micro-units divided by 1,000,000 to get the source currency amount
  2. Source currency converted to your reporting currency using daily exchange rates

Data Freshness & Backfill

Ad performance data syncs daily. Historical backfill is included during onboarding.

Verify Setup

  1. Confirm the X Ads integration status is active in Vendo
  2. Check that ad metrics appear in your destination or BigQuery export
  3. Verify campaign names and line item names are populated
Last updated on