BingAds report getting fails even after hours

113 Views Asked by At

On php trying to get cost reports by campaignIds. Authentication is ok, submitting the report is ok. But when retrieving via;

$bingAds->getCampaignPerformanceReport($accessToken, $clientAccountID, $customerId, $ReportRequestId);

some campaigns get results and others fail. On Documentation here, it says; "When the status is Success, use the URL that the service provides to download the report" I clearly see that I have success in the call but downloadUrl is null. Screenshot of Xdebug with null and success

Bingads ask to do 2, 15 minute polling, if exceeds an hour wait and try again(not a great direction but it is what it is, bing).

My question is, is there anyway to check why a submitted report could fail(via reportId) Or some reports just fail with no reason( once request submitted is, you just have to hope to get it, does not seem like a solid design). I even try for one day report, which should have just KBs of data, still no result, just success with no downloadUrl

0

There are 0 best solutions below