How singer-io/tap-bing-ads works
tap-bing-ads is a Singer tap that extracts Microsoft Advertising account entities and analytics reports. Users configure credentials and stream selection, discover an access-filtered catalog, then sync selected data: entity streams cascade through accounts, campaigns, ad groups, and ads, while report streams run per account with date windows, asynchronous generation, polling, and CSV parsing. The map includes the shared stream runtime and report metadata. Some report-stream implementations were not sampled; their capabilities and async flow are documented in the README, while unverified implementation links are omitted.
Main entry points: abstracts.py Stream runtime · sync.py Sync coordinator · schema.py Schemas · __init__.py Singer tap
Components 19
Tap entry
- Singer tap
tap_bing_ads/__init__.py
Catalog discovery
- Catalog discovery
tap_bing_ads/discover.py - Schemas
tap_bing_ads/schema.py - Stream registry
tap_bing_ads/streams/__init__.py
Sync runtime
- Sync coordinator
tap_bing_ads/sync.py - Stream runtime
tap_bing_ads/streams/abstracts.py
Data streams
- Accounts
tap_bing_ads/streams/accounts.py - Campaigns
tap_bing_ads/streams/campaigns.py - Ad groups
tap_bing_ads/streams/ad_groups.py - Ads
tap_bing_ads/streams/ads.py - Performance reports
tap_bing_ads/streams - Audience reports
tap_bing_ads/streams - Other reports
tap_bing_ads/streams
Shared services
- REST client
tap_bing_ads/client.py - Report metadata
tap_bing_ads/reports.py - Field exclusions
tap_bing_ads/exclusions.py
Other components
- Tap operator
- Microsoft Advertising API
- Singer output
Connections 28
- Tap operator → Singer tap: runs
README.md - Singer tap → Catalog discovery: dispatches
tap_bing_ads/__init__.py - Singer tap → Sync coordinator: dispatches
tap_bing_ads/__init__.py - Catalog discovery → Schemas: loads schemas
tap_bing_ads/discover.py - Catalog discovery → Stream registry: checks streams
tap_bing_ads/discover.py - Schemas → Stream registry: builds stream schemas
tap_bing_ads/schema.py - Schemas → Report metadata: uses report fields
tap_bing_ads/schema.py - Schemas → Field exclusions: applies exclusions
tap_bing_ads/schema.py - Sync coordinator → Stream registry: instantiates streams
tap_bing_ads/sync.py - Sync coordinator → Accounts: syncs selected stream
tap_bing_ads/sync.py - Sync coordinator → Performance reports: syncs per account
tap_bing_ads/sync.py - Sync coordinator → Audience reports: syncs per account
tap_bing_ads/sync.py - Sync coordinator → Other reports: syncs per account
tap_bing_ads/sync.py - Accounts → Campaigns: drives children
README.md - Campaigns → Ad groups: drives children
README.md - Ad groups → Ads: drives children
README.md - Accounts → Stream runtime: uses runtime
tap_bing_ads/streams/accounts.py - Campaigns → Stream runtime: uses runtime
tap_bing_ads/streams/campaigns.py - Ad groups → Stream runtime: uses runtime
tap_bing_ads/streams/ad_groups.py - Ads → Stream runtime: uses runtime
tap_bing_ads/streams/ads.py - Performance reports → Stream runtime: uses report runtime
tap_bing_ads/streams/search_query_performance_report.py - Audience reports → Stream runtime: uses report runtime
tap_bing_ads/streams/age_gender_audience_report.py - Other reports → Stream runtime: uses report runtime
tap_bing_ads/streams/ad_extension_detail_report.py - Stream runtime → REST client: requests data
tap_bing_ads/streams/abstracts.py - Stream runtime → Report metadata: uses report definitions
tap_bing_ads/streams/abstracts.py - Stream runtime → Field exclusions: validates fields
tap_bing_ads/streams/abstracts.py - REST client → Microsoft Advertising API: calls REST API
README.md - Sync coordinator → Singer output: emits records
README.md