> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Upcoming Bing Ads driver upgrade

Microsoft is retiring the SOAP API used by Microsoft Advertising (Bing Ads) on January 31, 2027. After that date, connections that use the SOAP API stop working.

To keep your Bing Ads pipelines running, we're upgrading the CData driver used by the [Bing Ads Load](https://docs.maia.ai/docs/components/bing-ads-load.md) and [Bing Ads Query](https://docs.maia.ai/docs/components/bing-ads-query.md) components on Maia from version 21.0.8235.0 to version 26.0.9805.0.

The new driver uses Microsoft's REST API. It adds new tables and columns and changes some behavior. It also removes a small number of connection properties, columns, and tables. Pipelines that use any of the removed items fail after the upgrade.

We haven't set an upgrade date yet. We recommend that you make the changes described on this page as soon as possible.

***

## What's changing

### New in the driver

The following additions don't change existing pipelines:

* Eight new tables: `AdAssets`, `AdExtensionAssets`, `AdExtensions`, `AssetGroupAssets`, `AssetGroups`, `BidStrategyReport`, `DataExclusions`, and `SeasonalityAdjustments`.
* New columns on existing tables. These are opt-in, so existing pipelines are unchanged. For example, the `Campaigns` table goes from 16 to 23 columns, adding `IsPolitical`, `BidStrategyScope`, `AISearchEnabled`, `AutoGeneratedImageOptOut`, `AutoGeneratedTextOptOut`, `FinalUrlExpansionOptOut`, and `SearchTermMatchingOptOut`.
* No parent filters for `AdGroups`, `Ads`, and `Keywords`. You no longer need to filter on `CampaignId` or `AdGroupId`. The driver walks the account hierarchy and returns the same records as before.
* A new connection option, `FirewallAutoDetect`. The `UserDefinedViews` option is now visible in **Connection Options**.
* Clearer error messages that name the invalid column, table, property, or value.

### Changed behavior

| Area | Before | Now |
| - | - | - |
| Invalid `AccountId` | 0 rows, no error | Error 40005, "The account ID is invalid" |
| Blank `AccountId` (Bing Ads Query) | Data for one account | Data for all accounts under the customer |
| `AdGroups.UrlCustomParameters` | Always blank | Filled in (multi-line JSON with Windows line breaks) |
| `Keywords.FinalUrls` | Always blank | Filled in (a URL) |
| `Campaigns.Languages` | `NULL` | The actual value, for example "English" |
| `City` and `MostSpecificLocation` (location reports) | Some values had one trailing space, for example "DUNGANNON " | Trimmed. Joins and groupings on these values may match differently. |
| Bing Ads Query, Basic mode, date filters on `Daily` | 0 rows, no error | Error, "Cannot compare data type of int to date". See [Report date ranges](#known-issues-and-workarounds). |
| `KeywordEstimatedPosition.Keywords` | The full keyword list on every row | One keyword per row |
| `NULL IN (...)` in SQL | Non-standard behavior | Returns `NULL`, as in standard SQL |

### Removed items

Pipelines that use any of the following items fail after the upgrade.

| Removed | What happens | What to do |
| - | - | - |
| Connection properties `BatchSize` and `ReplaceInvalidTypesWithNull` | Pipelines that set them fail with "'batchsize' is not a valid connection property". | Remove `BatchSize`. Replace `ReplaceInvalidTypesWithNull` with `Other` = `ReplaceInvalidValuesWithNull=TRUE`. |
| Column `KeywordEstimatedPosition.Keyword` | Pipelines that select it fail with "Unable to find the column 'Keyword'". | Use `Keywords`, which now holds one keyword per row. |
| `DayOfWeek` and `HourOfDay` on ten reports: `AdExtensionByAd`, `AdExtensionByKeyword`, `AdExtensionDetail`, `AudiencePerformance`, `ProductDimensionPerformance`, `ProductPartitionPerformance`, `ProductPartitionUnitPerformance`, `ProductSearchQueryPerformance`, `SearchQueryPerformance`, and `ShareOfVoice` | These columns never returned data on these reports. Pipelines that select them now fail with a clear error. | Remove the columns. `DayOfWeek` still works on other reports, such as `CampaignPerformanceReport`. |
| Tables `KeywordDemographics` and `KeywordLocations` | Pipelines fail with "Unable to retrieve columns for table". | Remove them from your pipelines. |
| `ProxyAuthScheme=PROPRIETARY` | Fails with "The value 'PROPRIETARY' is not allowed. Possible values are: BASIC, DIGEST, NONE, NEGOTIATE, NTLM". | Use a supported scheme. |

***

## Known issues and workarounds

* `KeywordEstimatedPosition` with several keywords: `WHERE Keywords = 'a,b,c'` returns 0 rows with no error, even though it matches the syntax in CData's documentation. Use `Keywords IN ('a','b','c')` instead. The `IN` form returned no rows on the previous driver, so you must update pipelines when you upgrade.
* Report date ranges: Filtering on `Daily` (quoted or not) doesn't set the report period, and the driver requests the last month. To choose a period, use Advanced mode with both `StartDate` and `EndDate`, for example `WHERE StartDate = '2025-06-01' AND EndDate = '2025-06-30'`. This behavior existed before the upgrade, on both drivers.
* Advanced driver properties not shown in **Connection Options**: You can set them with the `Other` connection option, for example `Other` = `ReplaceInvalidValuesWithNull=TRUE`. Setting them directly also works, but Designer shows a misleading "Invalid option" warning.
* Rolling back the runner: If you roll back to an earlier Maia runner version, pipelines that use the new tables, new columns, or new options (for example `FirewallAutoDetect`) fail on the older driver with a clear error.

***

## What you need to do

### Check your Bing Ads pipelines

You don't need to take any action if you don't use Bing Ads Load or Bing Ads Query. If you do, check the following as soon as possible, because the upgrade date isn't set:

* Remove the `BatchSize` and `ReplaceInvalidTypesWithNull` connection properties, and replace the second one as shown in [Removed items](#removed-items).
* Remove any use of the `KeywordDemographics` and `KeywordLocations` tables, the `KeywordEstimatedPosition.Keyword` column, and `DayOfWeek` or `HourOfDay` on the ten reports listed above.
* If you use a proxy, check that `ProxyAuthScheme` isn't set to `PROPRIETARY`.
* If you filter `KeywordEstimatedPosition` on several keywords, use `IN` and not `=`.
* If you use Bing Ads Query with a blank `AccountId`, expect data for all accounts. Set the `AccountId` if you want data for one account only.
* If you use Bing Ads Query in Basic mode with a date filter on `Daily`, switch to Advanced mode with `StartDate` and `EndDate`.
* If you join or group on `City` or `MostSpecificLocation`, check the results after the upgrade, as trailing spaces are now removed.

If you have any questions about this change, contact [Matillion support](https://docs.maia.ai/docs/guides/getting-support.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.