Skip to main content

Bing Ads

This page guides you through the process of setting up the Bing Ads source connector.

Prerequisites (Airbyte Cloud)

  • A Bing Ads account with permission to access data from accounts you want to sync

Prerequisites (Airbyte Open Source)

  • Tenant ID
  • Developer Token
  • Client ID
  • Client Secret
  • Refresh Token
  • Reports replication start date

Step 1: Set up Bing Ads

  1. Create a developer application using the instructions for registering an application in Azure portal
  2. Perform these steps to get auth code, and use that to get a refresh token. For reference, the full authentication process described here. Be aware that the refresh token will expire in 90 days. You need to repeat the auth process to get a new refresh token.
  3. Find your Microsoft developer token by following these instructions
  4. Optionally, if your oauth app lives under a custom tenant which cannot use Microsoft's recommended common tenant, make sure to get the tenant ID ready for input when configuring the connector. The tenant will be used in the auth URL e.g:<tenant>/oauth2/v2.0/authorize.

Step 2: Set up the source connector in Airbyte

For Airbyte Cloud:

  1. Log into your Airbyte Cloud account.
  2. In the left navigation bar, click Sources. In the top-right corner, click + new source.
  3. On the source setup page, select Bing Ads from the Source type dropdown and enter a name for this connector.
  4. Add Tenant ID
  5. Click Authenticate your account.
  6. Log in and Authorize to the BingAds account
  7. Choose required Start date
  8. click Set up source.

For Airbyte OSS:

  1. Go to local Airbyte page.
  2. In the left navigation bar, click Sources. In the top-right corner, click + new source.
  3. On the Set up the source page, enter the name for the connector and select Bing Ads from the Source type dropdown.
  4. Add Tenant ID
  5. Copy and paste info from step 1:
    • client ID
    • client secret
    • refresh_token
    • A developer token
  6. Choose required Start date and type of aggregation report
  7. Click Set up source.

Supported sync modes

The Bing Ads source connector supports the following sync modes:

  • Full Refresh
  • Incremental

Supported Streams

Basic streams:

Report Streams:

For more information, see the Bing Ads API.

Report Aggregation

All reports synced by this connector can be aggregated using hourly, daily, weekly, or monthly windows. Performance data is aggregated using the selected window. For example, if you select the daily-aggregation flavor of a report, the report will contain a row for each day for the duration of the report. Each row will indicate the number of impressions recorded on that day.

A report's aggregation window is indicated in its name e.g: account_performance_report_hourly is the Account Performance Reported aggregated using an hourly window.

Performance considerations

API limits number of requests for all Microsoft Advertising clients. You can find detailied info here


VersionDatePull RequestSubject
0.1.82022-06-1513801All reports hourly/daily/weekly/monthly will be generated by default, these options are removed from input configuration
0.1.72022-05-1712937Added OAuth2.0 authentication method, removed redirect_uri from input configuration
0.1.62022-04-3012500Improve input configuration copy
0.1.52022-01-0111652Rebump attempt after DockerHub failure at registring the 0.1.4
0.1.42022-03-2211311Added optional Redirect URI & Tenant ID to spec
0.1.32022-01-149510Fixed broken dependency that blocked connector's operations
0.1.22021-12-148429Update titles and descriptions
0.1.12021-08-315750Added reporting streams)
0.1.02021-07-224911Initial release supported core streams (Accounts, Campaigns, Ads, AdGroups)