Skip to content

LinkedIn Ads Input

Daily LinkedIn Campaign Manager analytics at account, campaign, and creative grains.

Configuration

yaml
data_sources:
  linkedin_ads:
    LinkedInAds:
      ad_account_id: "123456789"
      start_date: "2024-01-01"
      stream_profile: full
      lookback_days: 3
      processing_lag_days: 1
      access_token: ${LINKEDIN_ADS_ACCESS_TOKEN}
FieldDefaultDescription
ad_account_id(required)LinkedIn ad account ID
start_date(required)First report date (YYYY-MM-DD)
end_dateLast report date
lookback_days3Mature days to re-fetch
processing_lag_days1Skip trailing immature days
stream_profilefullminimal, standard, or full
streamsprofile setExplicit namespace list
rest_versionLinkedIn REST API version
api_versionLegacy API version override
access_tokenOAuth bearer token
oauth_*OAuth refresh credentials

Pipeline wiring

yaml
pipelines:
  linkedin:
    data_source: data_sources.linkedin_ads
    data_sink: data_sinks.landing

Authentication

Provide a LinkedIn Marketing API bearer token (LINKEDIN_ADS_ACCESS_TOKEN) or OAuth refresh fields. The token must be able to read the Campaign Manager ad account.

This site is source-available under PolyForm Shield 1.0.0