Skip to main content

Baidu

Extractor

Baidu is a Chinese technology company spanning internet search, cloud computing, artificial intelligence and digital advertising. Its Mediago platform lets marketers run programmatic advertising campaigns with targeting, bidding and reporting across Baidu's media network. Advertisers connect Mediago to bring their campaign and reporting data into their own systems.

At a glance

PropertyValue
AuthenticationAPI key / token
Sync typeNot specified in the source material (see note below)
StreamsFixed list
Custom queriesNot supported

What you can sync

  • High-level campaign overviews
  • Authorised campaigns and accounts
  • In-depth campaign insights
  • Daily performance reports, by campaign or by site

Prerequisites

  • API Token: your Mediago API token. The only credential needed.

Setup

In Baidu Mediago

  1. Sign in to Mediago and obtain an API token for your account.

In Meltano Cloud

  1. Enter your API Token.
  2. Optionally set Start Date and End Date to bound the reporting streams.
  3. Optionally set Timezone to control how dates are interpreted.

Available streams

StreamDescription
SummaryStreamHigh-level campaign overviews
CampaignStreamList of authorised campaigns
AccountsStreamList of authorised accounts
CampaignDetailsIn-depth campaign insights
ReportInCampaignDimensionDaily report broken down by campaign
ReportInSiteDimensionDaily report broken down by site, for a specific campaign

Note: field-level schemas and which streams replicate incrementally vs. in full aren't documented upstream. The two "daily report" streams are bounded by Start Date / End Date, which suggests per-day reporting, but this isn't stated explicitly by the tap.

Settings

SettingTypeDescription
api_tokenstringThe token to use for authentication.
start_datestringThe start date of the stream.
end_datestringThe end date of the stream.
timezonestringThe timezone of the stream.

Need help?

If a stream or field you need isn't listed here or the connector doesn't work as expected, file it through the usual Meltano support channel.