Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello,
We are seeing inconsistent results between CampaignManagement SOAP API and Bulk API for the same account.
Environment
Response
However, Bulk API for the same account returns at least one active campaign:
Sanitized Logs
GetCampaignsByAccountId Request & Response
[2026-04-28 17:49:02] local.DEBUG: {
"account_id": "188355338",
"service": "GetCampaignsByAccountId",
"request": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ns1=\"https://bingads.microsoft.com/CampaignManagement/v13\"><SOAP-ENV:Header><ns1:CustomerAccountId>188355338</ns1:CustomerAccountId><ns1:CustomerId>254786541</ns1:CustomerId><ns1:DeveloperToken>107REW71HM927642</ns1:DeveloperToken><ns1:UserName/><ns1:Password/><ns1:AuthenticationToken>********</ns1:AuthenticationToken></SOAP-ENV:Header><SOAP-ENV:Body><ns1:GetCampaignsByAccountIdRequest><ns1:AccountId>188355338</ns1:AccountId><ns1:CampaignType>Audience Hotel Search Shopping PerformanceMax</ns1:CampaignType><ns1:ReturnAdditionalFields>AdScheduleUseSearcherTimeZone MaxConversionValueBiddingScheme TargetImpressionShareBiddingScheme TargetSetting BidStrategyId CpvCpmBiddingScheme DynamicFeedSetting MultimediaAdsBidAdjustment VerifiedTrackingSetting DynamicDescriptionSetting DisclaimerSetting CampaignConversionGoal TargetCpaInMaxConversion ResponsiveSearchAdsSetting CostPerSaleBiddingScheme ShoppingSettingShoppableAdsEnabled ShoppingSettingFeedLabel CallToActionSetting PageFeedInPerformanceMaxSettings</ns1:ReturnAdditionalFields></ns1:GetCampaignsByAccountIdRequest></SOAP-ENV:Body></SOAP-ENV:Envelope>
",
"response": "<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Header><h:TrackingId xmlns:h=\"https://bingads.microsoft.com/CampaignManagement/v13\">0e5df2d3-29b1-4bb8-9675-7551f22c1188</h:TrackingId></s:Header><s:Body><GetCampaignsByAccountIdResponse xmlns=\"https://bingads.microsoft.com/CampaignManagement/v13\"><Campaigns xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"/></GetCampaignsByAccountIdResponse></s:Body></s:Envelope>"
Bulk Result Snippet
Array
(
[Type] => Campaign
[Status] => Active
[Id] => 487660970
[ParentId] => 188355338
[CampaignId] =>
[SubType] => AudienceStatic
[Campaign] => 【0420-0515】春キャンペーン
[AdGroup] =>
[AssetGroup] =>
[Website] =>
[SyncTime] =>
[ClientId] =>
[ModifiedTime] => 04/27/2026 15:00:22.213
...
[CampaignType] => Audience
...
[StartDate] => 04/20/2026 00:00:00
[EndDate] => 04/30/2026 23:59:59
...
)
Questions
Best regards,
Daisuke Mita
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
<Campaigns/> element, which indicates that the service did not find any campaigns matching the specified criteria for that request, not that the account has no campaigns. The Bulk API confirming an active Audience campaign only shows that the campaign exists; it does not guarantee that it matches the CampaignType filter or other internal criteria applied by GetCampaignsByAccountId.References: