Microsoft Advertising (formerly Bing Ads) is a platform for creating and managing ads across the Microsoft Search Network, including Bing, Yahoo, and AOL properties, as well as Microsoft Audience Network placements.
To connect, you’ll need a Microsoft Advertising account with API access and an Azure AD application for OAuth.
In the Microsoft Advertising UI, use the account switcher or Account settings page to copy the numeric Customer ID and Account ID.
The config section in a YAML file includes the following properties:
Connectorname**: Bing Ads
Client_id**: Azure AD Application (client) ID
Client_secret**: Azure AD client secret
Developer_token**: Microsoft Advertising Developer Token
Customer_id**: Microsoft Advertising Customer ID
Account_id**: Microsoft Advertising Account IDIncremental mode (reports) Reporting endpoints support date-based incremental loads. In the provided template, reports are aggregated Daily and can use either a predefined date window or a custom date range. Key options used by the template:
type: reports
report: Campaign Performance
aggregation: 'Daily'
ReportTimeZone: 'PacificTimeUSCanadaTijuana'
# Use ONE of the following time options:
PredefinedTime: 'LastSevenDays' # predefined window
# OR
# CustomDateRangeStart: 'YYYY-MM-DD'
# CustomDateRangeEnd: 'YYYY-MM-DD'Notes: Include at least one dimension column (e.g., TimePeriod, CampaignId, CampaignName). Without a dimension, the API will reject the query. Use PredefinedTime for rolling windows or CustomDateRangeStart/End for fixed windows.
version: 1.0.1
encrypt_credentials: false
direct_target_import: false
union_all_tables: true
add_dbname_column: false
direct_load_to_destination: true
use_snake_casing: true
plugins:
extractors:
- name: Bingads
connectorname: Bing Ads
config:
access_token: <ACCESS_TOKEN>
refresh_token: <REFRESH_TOKEN>
client_id: <CLIENT_ID>
client_secret: <CLIENT_SECRET>
developer_token: <DEVELOPER_TOKEN>
customer_id: <CUSTOMER_ID>
account_id: <ACCOUNT_ID>
properties:
type: reports
report: Campaign Performance
columns: Clicks, AverageCpc, Spend, Impressions, CampaignId
aggregation: 'Daily'
ReportTimeZone: 'PacificTimeUSCanadaTijuana'
# Choose ONE date option:
PredefinedTime: 'LastSevenDays'
# CustomDateRangeStart: '2025-09-01'
# CustomDateRangeEnd: '2025-09-30'
# At least one dimension is required:Bold Data Hub icon on the Navigation Pane.
Add Pipeline and provide the name for the new pipeline.
Double Click on the Bing ads connector, which will prompt a Authentication Setup window.

Fill the Client ID and Client Secret and click Ok.
Click on Allow in the authorization window to accept the scopes requested by Bold DataHub.
Update the developer token and IDs in the template. Adjust the columns and date window as needed, then save to the Bold BI Data Store.

Creating a Pipeline in Bold Data Hub automatically creates a Data Source in Bold BI. The Bold BI Data Source is a live data source to the destination database used in Bold Data Hub. For more information on the relationship between Bold Data Hub Pipeline and the associated Data Sources in Bold BI , please refer to Relationship between Bold Data Hub Pipeline and Associated Data Sources in Bold BI.
