I have a game on android and ios, both active on the playstore and appstore with no issues at all (ads work on both just fine). I was working on an update to them and the ads stopped working on ios devices only. There were no changes to the ad code at all. The only difference is that unity was updated to 2018.1.2f1. Ads are enabled in the services panel and test mode is also enabled. Any help would be greatly appreciated. Below is the code used.
void playStandardAd() {
int randomNum = Random.Range(0, 99);
if (!lowerAdChances) {
if (randomNum % 2 == 0 && Advertisement.IsReady()) {
Advertisement.Show();
}
} else {
lowerAdChances = false;
}
}
void ShowRewardedVideo() {
ShowOptions options = new ShowOptions();
options.resultCallback = HandleShowResult;
Advertisement.Show("rewardedVideo", options);
}