> AI agents: this is one page from PostHog's docs. Full index of Markdown docs for LLMs: https://posthog.com/llms.txt # Linking Bing Ads as a source Canonical URL: https://posthog.com/docs/data-pipelines/sources/bing-ads > **Cloud region:** This page uses US Cloud hosts. For an EU Cloud project, use `https://eu.posthog.com` instead of `https://app.posthog.com` (app host for links). ## On this page - [Requirements](#requirements) - [Configuring PostHog](#configuring-posthog) - [Configuration](#configuration) - [Supported tables](#supported-tables) - [Troubleshooting](#troubleshooting) ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_9608fcca70) ![](https://res.cloudinary.com/dmukukwp6/image/upload/texture_tan_dark_a92b0e022d) Let AI connect your sources for you Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog. `npx @posthog/wizard warehouse` ![PostHog Wizard hedgehog](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png) ![](https://res.cloudinary.com/dmukukwp6/image/upload/wizard_3f8bb7a240.png)Let AI connect your sources for you You can sync data from Bing Ads reports by configuring it as a source in PostHog. These are the supported entity and reports: | Report Type | Description | | --- | --- | | [Campaigns](https://learn.microsoft.com/en-us/advertising/guides/campaign-management-guides?view=bingads-13) | | | [Campaign Performance Report](https://learn.microsoft.com/en-us/advertising/guides/reports) | Performance metrics at the campaign level | | [Ad Group Performance Report](https://learn.microsoft.com/en-us/advertising/guides/reports) | Performance metrics at the ad group level | | [Ad Performance Report](https://learn.microsoft.com/en-us/advertising/guides/reports) | Performance metrics at the ad level | **Performance reports limited to 36 months** Microsoft Advertising only retains daily-aggregated performance report data for 36 months. When syncing performance reports (Campaign Performance Report, Ad Group Performance Report, Ad Performance Report), PostHog automatically limits the historical data sync to this 36-month window. This doesn't affect the Campaigns entity, which syncs all available data. See [Microsoft's data retention documentation](https://learn.microsoft.com/en-us/advertising/guides/report-data-retention-time-periods?view=bingads-13) for details. Additional reports will be added based on user feedback we receive via our [in-app support form](https://app.posthog.com/#panel=support%3Afeedback%3Adata_warehouse%3Alow%3Atrue). ## Requirements - A Bing Ads account with permission to access data from accounts you want to sync. - Your **Account ID** (numeric only) from the [Bing Ads interface](https://ui.ads.microsoft.com/) > **Settings** > **Account Settings** > The account ID is visible below the **Account ID** header. **Don't confuse Account Number with Account ID** Microsoft Advertising shows two different identifiers: - **Account Number** - An alphanumeric, 8-character value (e.g., `AB12CD34`). This is displayed prominently in the UI but is **not** what PostHog needs. - **Account ID** - A numeric-only value (e.g., `123456789`). This is what PostHog requires. Make sure you enter the numeric **Account ID**, not the alphanumeric **Account Number**. ![Bing Ads account ID](https://res.cloudinary.com/dmukukwp6/image/upload/q_auto,f_auto/Screenshot_2025_11_20_at_2_31_35_PM_57e3bef9cc.png) ## Configuring PostHog Connect PostHog to your Bing Ads account using a Microsoft account. The Microsoft account must have administrator or standard access to your Bing Ads account to view campaign data and reports. 1. In PostHog, go to the **[Data pipelines](https://app.posthog.com/data-management/sources)** tab. 2. Open the **\+ New** drop-down menu in the top-right and select **Source**. 3. Find Bing Ads in the sources list and click **Link**. 4. Enter the **Account ID** of the Bing Ads account you want to sync. 5. Select an existing Bing Ads account, or create a new integration. 6. (Optional) Add a prefix for the table name. ## Configuration | Option | Type | Required | | --- | --- | --- | | `Bing Ads account` | oauth | Yes | | `Account ID` | oauth-account-select | Yes | ## Supported tables | Table | Description | Sync method | Incremental field | Primary key | | --- | --- | --- | --- | --- | | `destination_url_performance_report` | Daily landing page performance by destination URL and ad. | Incremental, Full refresh | TimePeriod | — | | `campaigns` | A Microsoft Advertising campaign — a container for ad groups, budget, and targeting settings. | Full refresh | — | — | | `campaign_performance_report` | Daily performance metrics for campaigns — impressions, clicks, spend, and conversions. | Incremental, Full refresh | TimePeriod | — | | `ad_group_performance_report` | Daily performance metrics broken down by ad group. | Incremental, Full refresh | TimePeriod | — | | `ad_performance_report` | Daily performance metrics broken down by individual ad. | Incremental, Full refresh | TimePeriod | — | | `keyword_performance_report` | Daily performance metrics broken down by keyword, including quality score components. | Incremental, Full refresh | TimePeriod | — | ## Troubleshooting ### Can't connect if you sign in with Google PostHog authenticates through the Microsoft Advertising API, which only accepts a Microsoft account. If you sign in to Microsoft Advertising with a **Google account**, the connection can't complete. This is a Microsoft limitation, not specific to PostHog. To fix it, sign in with a Microsoft account that has administrator or standard access to your Bing Ads account, then link the source again.