Hi there,
I'm integrating the IMA SDK for iOS into a project that was already serving ads manually. The old method of manually serving the ad works correctly while attempting to use the IMA SDK does not.
1) We are using the iOS SDK, latest version, integrated through Cocoapods
3) We are able to reproduce this issue in the sample app, after changing the ad tag to the one above. When using the Video Suite Inspector there is no issue. So it only appears to be an issue when using it through the iOS SDK.
4) To reproduce, download the sample video player and replace the value of kTestAppAdTagUrl with the ad tag above and also set Allow Arbitrary Loads = YES for App Transport Security.
The log that we get is the following:
Core: (INFO) ima.loader.AdsLoaderWrapper: Requesting ads using new ads loader.
Core: (INFO) ima.loader.AdsLoaderWrapper: requestAds, processing external request.
Core: (INFO) ima.loader.SequentialAdsLoader: Enqueued new request.
Core: (INFO) ima.loader.SequentialAdsLoader: Starting request from queue.
Core: (SEVERE) ima.loader.UrlLoader: Failed! retrying without credentials
Core: (INFO) ima.loader.AdSourceFetcher: errorCallback for errorCode: 6
Error loading ads 1: Unable to request ads from server due to network error. (1012)
Core: (INFO) ima.loader.SequentialAdsLoader: Starting request from queue.
Thanks for your help.
Jeremy