Why: 100, NullRequest, The request message is null.

Markus Heiden 1 Reputation point
2020-11-17T19:00:31.527+00:00

Hi,

since some time all our Bing Ads reporting requests get answered with "100, NullRequest, The request message is null". For me our requests look fine.
Can anyone tell me what we are doing wrong? We are using the Java-Client 13.0.6.

Request:
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header>
<AuthenticationToken xmlns="https://bingads.microsoft.com/Reporting/v13">...</AuthenticationToken>
<CustomerAccountId xmlns="https://bingads.microsoft.com/Reporting/v13">...</CustomerAccountId>
<CustomerId xmlns="https://bingads.microsoft.com/Reporting/v13">...</CustomerId>
<DeveloperToken xmlns="https://bingads.microsoft.com/Reporting/v13">...</DeveloperToken>
</SOAP-ENV:Header>
<S:Body xmlns="https://bingads.microsoft.com/Reporting/v13" xmlns:ns0="https://adapi.microsoft.com"
xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays"
xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/">
<SubmitGenerateReportRequest xmlns="https://bingads.microsoft.com/Reporting/v13"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ReportRequest xmlns="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" type="KeywordPerformanceReportRequest">
<ExcludeColumnHeaders xmlns="https://bingads.microsoft.com/Reporting/v13" xsi:nil="true" />
<ExcludeReportFooter xmlns="https://bingads.microsoft.com/Reporting/v13" xsi:nil="true" />
<ExcludeReportHeader xmlns="https://bingads.microsoft.com/Reporting/v13" xsi:nil="true" />
<Format xmlns="https://bingads.microsoft.com/Reporting/v13">Csv</Format>
<FormatVersion xmlns="https://bingads.microsoft.com/Reporting/v13">2.0</FormatVersion>
<ReportName xmlns="https://bingads.microsoft.com/Reporting/v13">...</ReportName>
<ReturnOnlyCompleteData xmlns="https://bingads.microsoft.com/Reporting/v13">false</ReturnOnlyCompleteData>
<Aggregation xmlns="https://bingads.microsoft.com/Reporting/v13">Summary</Aggregation>
<Columns xmlns="https://bingads.microsoft.com/Reporting/v13">
<KeywordPerformanceReportColumn>AccountId</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AccountName</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>CampaignId</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>CampaignName</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>CampaignStatus</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AdGroupId</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AdGroupName</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AdGroupStatus</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>KeywordId</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Keyword</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>BidMatchType</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>FinalUrl</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>KeywordStatus</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>CurrentMaxCpc</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AverageCpc</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>AveragePosition</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Clicks</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Impressions</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Ctr</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Spend</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>QualityScore</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Mainline1Bid</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>FirstPageBid</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>ConversionRate</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Conversions</KeywordPerformanceReportColumn>
<KeywordPerformanceReportColumn>Revenue</KeywordPerformanceReportColumn>
</Columns>
<Filter xmlns="https://bingads.microsoft.com/Reporting/v13" xsi:nil="true" />
<Scope xmlns="https://bingads.microsoft.com/Reporting/v13"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AccountIds>
<ns2:long>136008903</ns2:long>
</AccountIds>
<AdGroups xsi:nil="true" />
<Campaigns xsi:nil="true" />
</Scope>
<Sort xmlns="https://bingads.microsoft.com/Reporting/v13" xsi:nil="true" />
<Time xmlns="https://bingads.microsoft.com/Reporting/v13">
<CustomDateRangeEnd>
<Day>11</Day>
<Month>10</Month>
<Year>2020</Year>
</CustomDateRangeEnd>
<CustomDateRangeStart>
<Day>11</Day>
<Month>10</Month>
<Year>2020</Year>
</CustomDateRangeStart>
</Time>
</ReportRequest>
</SubmitGenerateReportRequest>
</S:Body>
</S:Envelope>

Response (500 Internal Server Error):
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<s:Fault>
<faultcode>s:Server</faultcode>
<faultstring xml:lang="en-US">Invalid client data. Check the SOAP fault details for more information.
TrackingId: 062de80c-d7ac-4027-bfea-6e8435d42ddf.
</faultstring>
<detail>
<ApiFaultDetail xmlns="https://bingads.microsoft.com/Reporting/v13"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<TrackingId xmlns="https://adapi.microsoft.com">062de80c-d7ac-4027-bfea-6e8435d42ddf</TrackingId>
<BatchErrors />
<OperationErrors>
<OperationError>
<Code>100</Code>
<Details i:nil="true" />
<ErrorCode>NullRequest</ErrorCode>
<Message>The request message is null.</Message>
</OperationError>
</OperationErrors>
</ApiFaultDetail>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>

Microsoft Advertising API
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.
401 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Markus Heiden 1 Reputation point
    2020-11-18T16:52:39.97+00:00

    We found the answer: The Bing Ads API or the Bing Ads Java client is not compatible with JAXWS-RI as JAXWS implementation. Fix: Ensure that only CXF as JAXWS implementation is on the classpath.

    See GitHub issue:
    https://github.com/BingAds/BingAds-Java-SDK/issues/120

    0 comments No comments