Bing ads api - InternalServiceFault when calling SubmitGenerateReport Service

Pierre-Emmanuel BOIS 1 Reputation point
2022-10-12T14:32:52.203+00:00

The error :

InternalServiceFault: The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

Here is the soap envelope i use :

<SubmitGenerateReportRequest xmlns="https://bingads.microsoft.com/Reporting/v13">
<ReportRequest type="BudgetSummaryReportRequest">
<Columns>
<BudgetSummaryReportColumn>AccountName</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>AccountNumber</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>AccountId</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>CampaignName</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>CampaignId</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>Date</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>CurrencyCode</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>MonthlyBudget</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>DailySpend</BudgetSummaryReportColumn>
<BudgetSummaryReportColumn>MonthToDateSpend</BudgetSummaryReportColumn>
</Columns>
<ExcludeColumnHeaders>false</ExcludeColumnHeaders>
<ExcludeReportFooter>false</ExcludeReportFooter>
<ExcludeReportHeader>false</ExcludeReportHeader>
<Format>Csv</Format>
<FormatVersion>2.0</FormatVersion>
<ReportName>BudgetSummaryReport</ReportName>
<ReturnOnlyCompleteData>true</ReturnOnlyCompleteData>
<Scope>
<AccountIds>
<long>xx</long>
</AccountIds>
<Campaigns>
<CampaignReportScope>
<AccountId>xx</AccountId>
<CampaignId>xx</CampaignId>
</CampaignReportScope>
<CampaignReportScope>
<AccountId>xx</AccountId>
<CampaignId>xx</CampaignId>
</CampaignReportScope>
<CampaignReportScope>
<AccountId>xx</AccountId>
<CampaignId>xx</CampaignId>
</CampaignReportScope>
<CampaignReportScope>
<AccountId>xx</AccountId>
<CampaignId>xx</CampaignId>
</CampaignReportScope>
</Campaigns>
</Scope>
<Time>
<CustomDateRangeEnd>
<Day>11</Day>
<Month>10</Month>
<Year>2022</Year>
</CustomDateRangeEnd>
<CustomDateRangeStart>
<Day>10</Day>
<Month>10</Month>
<Year>2022</Year>
</CustomDateRangeStart>
<PredefinedTime xsi:nil="true"></PredefinedTime>
<ReportTimeZone>BrusselsCopenhagenMadridParis</ReportTimeZone>
</Time>
</ReportRequest>
</SubmitGenerateReportRequest>

How can i get get more information about the error ?

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.
385 questions
0 comments No comments
{count} votes

9 answers

Sort by: Most helpful
  1. Howard Chang 81 Reputation points
    2022-10-24T20:54:13.94+00:00

    I had this problem with the reporting API, and I've solve this by switching the WSDL to the singleWSDL version:

    from:

    https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/v13/ReportingService.svc?wsdl

    to:

    https://reporting.api.bingads.microsoft.com/Api/Advertiser/Reporting/v13/ReportingService.svc?singleWsdl

    Let me know if this helps.

    Good luck everyone.

    H

    1 person found this answer helpful.

  2. rob himself 1 Reputation point
    2022-10-17T15:31:40.097+00:00

    same here.

    0 comments No comments

  3. Williams, Dan 1 Reputation point
    2022-10-21T19:17:44.173+00:00

    Exactly the same issue. I have made no changes on my end but suddenly I am getting this error.


  4. Ashwani Chandra 6 Reputation points
    2022-10-23T15:23:37.267+00:00

    Getting the exact same error

    0 comments No comments

  5. Ashwani Chandra 6 Reputation points
    2022-10-24T21:04:22.9+00:00

    Hi,

    I am trying it with wsdl and singleWsdl.

    wsdl gives me an error that says UnknownOperationError: Unable to find SOAP operation: :submit_generate_report

    using singleWsdl gives me the above mentioned error.

    Can you please share which language you are using it in ? A code snippet in that language would definitely help

    0 comments No comments