Open michaeldereje-simplybusiness opened 1 year ago
This is what the request looks like.
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="https://bingads.microsoft.com/Reporting/v13" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:ins1="https://adapi.microsoft.com" xmlns:arr="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<env:Header>
<tns:DeveloperToken>ANOTHER_TOKEN</tns:DeveloperToken>
<tns:AuthenticationToken>SOME_TOKEN</tns:AuthenticationToken>
</env:Header>
<env:Body>
<tns:SubmitGenerateReportRequest>
<tns:ReportRequest>
<tns:Format>Csv</tns:Format>
<tns:ReportName>AdPerformanceReport</tns:ReportName>
<tns:Aggregation>Daily</tns:Aggregation>
<tns:Columns>
<tns:AdPerformanceReportColumn>AccountId</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AccountName</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AccountNumber</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdId</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdType</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdGroupId</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdGroupName</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdGroupStatus</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdTitle</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdDescription</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AdDistribution</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>BidMatchType</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>CampaignId</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>CampaignName</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>CampaignStatus</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>DeliveredMatchType</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>DestinationUrl</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>DeviceType</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Network</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Path1</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Path2</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>TitlePart1</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>TitlePart2</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>TimePeriod</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>AveragePosition</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Clicks</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Impressions</tns:AdPerformanceReportColumn>
<tns:AdPerformanceReportColumn>Spend</tns:AdPerformanceReportColumn>
</tns:Columns>
<tns:Scope>
<tns:AccountIds>
<arr:long>123123</arr:long>
</tns:AccountIds>
</tns:Scope>
<tns:Time>
<tns:CustomDateRangeEnd>
<tns:Day>21</tns:Day>
<tns:Month>3</tns:Month>
<tns:Year>2023</tns:Year>
</tns:CustomDateRangeEnd>
<tns:CustomDateRangeStart>
<tns:Day>14</tns:Day>
<tns:Month>3</tns:Month>
<tns:Year>2023</tns:Year>
</tns:CustomDateRangeStart>
</tns:Time>
</tns:ReportRequest>
<tns:attributes>
<tns:ReportRequest>
<xmlns:i>http://www.w3.org/2001/XMLSchema-instance</xmlns:i>
<i:type>tns:AdPerformanceReportRequest</i:type>
</tns:ReportRequest>
</tns:attributes>
</tns:SubmitGenerateReportRequest>
</env:Body>
</env:Envelope>
I got the same problem :( I have no ideas because don't know what is cause of error.
Same problem. Look's like it's a internal error in their API.
Same here. Even after implementing their suggested 1, 5, and 20 minute retries I can't get this to succeed between 04:00-05:00 UTC. Works more reliably around 14:00 UTC, but still with sporadic failures.
https://learn.microsoft.com/en-us/advertising/transaction-message/error-codes-messages
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.