On generated reports all of the date fields in the header come down from Bing Ads in American format "m/d/yyyy" resulting in "String was not recognized as a valid DateTime." on machines with differing regional settings.
I've had a look around Bing Ads for a configuration element but can't see anything, now using DateTime.Parse(strReportTime, new CultureInfo("en-US")); to get around it
On generated reports all of the date fields in the header come down from Bing Ads in American format "m/d/yyyy" resulting in "String was not recognized as a valid DateTime." on machines with differing regional settings.
I've had a look around Bing Ads for a configuration element but can't see anything, now using
DateTime.Parse(strReportTime, new CultureInfo("en-US"));
to get around ithttps://github.com/BingAds/BingAds-dotNet-SDK/blob/897ab411de6c54291b72d2f09e27935906b00058/BingAdsApiSDK/V12/Internal/Reporting/ReportHeader.cs#L119
https://github.com/BingAds/BingAds-dotNet-SDK/blob/897ab411de6c54291b72d2f09e27935906b00058/BingAdsApiSDK/V12/Internal/Reporting/ReportHeader.cs#L109
https://github.com/BingAds/BingAds-dotNet-SDK/blob/897ab411de6c54291b72d2f09e27935906b00058/BingAdsApiSDK/V12/Internal/Reporting/ReportHeader.cs#L89
Example csv headers data