Linking Taboola as a source

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

PostHog Wizard hedgehog

The Taboola connector syncs your advertising data from the Taboola Backstage API into PostHog, including campaigns, campaign items, conversion rules, performance reports, accessible accounts, and advertisers.

Adding a data source

Credentials must be requested from Taboola

Backstage API credentials (client ID and secret) are issued by your Taboola account manager – they can't be self-served. Contact your Taboola account manager to obtain API access before continuing.

  1. In PostHog, go to the Data pipeline page and select the Sources tab.
  2. Click + New source and select Taboola by clicking the Link button.
  3. Enter your Taboola credentials:
    • Client ID – Your Taboola API client ID
    • Client secret – Your Taboola API client secret
    • Account ID – Your alphabetic Taboola account identifier (also called the account name, visible in Taboola Ads)
  4. Click Next and select the tables you want to sync.
  5. Set the sync method and frequency, then click Import.

The data warehouse then starts syncing your Taboola data. You can see details and progress in the data pipeline sources tab.

Available tables

TableDescriptionSync method
campaignsAll campaigns in your Taboola accountFull refresh
campaign_itemsContent items within each campaignFull refresh
conversion_rulesUniversal pixel conversion rulesFull refresh
campaign_summary_by_dayDaily campaign performance metrics (impressions, clicks, conversions)Incremental
top_campaign_contentTop 1,000 performing content items over the last 30 daysFull refresh
allowed_accountsAccounts your Backstage API credentials can access. For network credentials, this lists the network account and each of its sub-accountsFull refresh
advertisersAdvertiser sub-accounts in your network. Empty for accounts that are not network accountsFull refresh
campaign_summary_by_sitePerformance metrics per publisher site, aggregated across all campaigns over the trailing 30 daysFull refresh
campaign_summary_by_countryPerformance metrics per country, aggregated across all campaigns over the trailing 30 daysFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Sync behavior

Entity tables

The campaigns, conversion_rules, campaign_items, allowed_accounts, and advertisers tables use full refresh because the Taboola API doesn't provide updated-since filtering. Every sync re-downloads the full result set.

The campaign_items table fans out across campaigns, fetching items for each campaign individually. If a sync is interrupted, it resumes from the next campaign rather than restarting from the beginning.

Report tables

The campaign_summary_by_day table is a date-windowed report walked in 30-day chunks. It supports incremental sync using the date field, with a 30-day restatement lookback – recent ad metrics can restate as conversions settle, so PostHog re-pulls the trailing 30 days and merges on date and campaign to keep data accurate. The first sync backfills 365 days of history.

If a report sync is interrupted, it resumes from the next unfetched window rather than restarting.

Snapshot tables

The top_campaign_content table returns the top 1,000 items aggregated over the trailing 30 days. The campaign_summary_by_site and campaign_summary_by_country tables aggregate all campaigns over the trailing 30 days by publisher site and country. Rows in these three tables carry no date, so they always sync as full refresh snapshots.

Authentication

Taboola uses OAuth2 client credentials authentication. Tokens are short-lived; PostHog automatically refreshes them during syncs. If a token expires mid-sync, PostHog re-authenticates once and continues.

Configuration

OptionTypeRequired
Client IDtextYes
Client secretpasswordYes
Account IDtextYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
campaigns

An advertising campaign in your Taboola account, with its budget, schedule, and targeting.

Full refresh——
campaign_items

A single promoted item (ad creative) within a Taboola campaign.

Full refresh——
campaign_audience_segment_targeting

Marketplace audience (audience segment) targeting of a campaign, one row per INCLUDE or EXCLUDE restriction.

Full refresh——
campaign_contextual_targeting

Contextual segment targeting of a campaign, one row per INCLUDE or EXCLUDE restriction.

Full refresh——
campaign_my_audience_targeting

My audience (first-party and custom audience) targeting of a campaign, one row per INCLUDE or EXCLUDE restriction.

Full refresh——
campaign_postal_code_targeting

Postal code targeting of a campaign, one row per INCLUDE or EXCLUDE restriction.

Full refresh——
conversion_rules

A conversion rule defined on your Taboola universal pixel for tracking advertiser conversions.

Full refresh——
allowed_accounts

Accounts your Backstage API credentials can access. For network credentials, this lists the network account and each of its sub-accounts.

Full refresh——
advertisers

Advertiser sub-accounts in your network. Empty for accounts that are not network accounts.

Full refresh——
my_audiences

An audience available to the account: Taboola Pixel, CRM-based and first-party audiences, including audiences created at the network level.

Full refresh——
combined_audiences

A combined audience built from other audiences with AND/OR relations.

Full refresh——
campaign_summary_by_day

Daily performance metrics broken down per campaign and date.

Incremental, Full refreshdate—
top_campaign_content

Aggregate performance of the top-performing campaign items over the requested window.

Full refresh——
campaign_summary_by_site

Performance metrics per publisher site, aggregated across all campaigns over the trailing 30 days.

Full refresh——
campaign_summary_by_country

Performance metrics per country, aggregated across all campaigns over the trailing 30 days.

Full refresh——
campaign_summary_by_region

Performance metrics per region, aggregated across all campaigns over the trailing 30 days.

Full refresh——
campaign_summary_by_dma

Performance metrics per DMA, aggregated across all campaigns over the trailing 30 days.

Full refresh——

Still have questions?

Was this page useful?