Skip ad group on unknown load error
PiperOrigin-RevId: 233576600
This commit is contained in:
parent
c66d26b601
commit
3a5ed6b889
@ -1374,7 +1374,8 @@ public final class ImaAdsLoader
|
|||||||
private static boolean isAdGroupLoadError(AdError adError) {
|
private static boolean isAdGroupLoadError(AdError adError) {
|
||||||
// TODO: Find out what other errors need to be handled (if any), and whether each one relates to
|
// TODO: Find out what other errors need to be handled (if any), and whether each one relates to
|
||||||
// a single ad, ad group or the whole timeline.
|
// a single ad, ad group or the whole timeline.
|
||||||
return adError.getErrorCode() == AdErrorCode.VAST_LINEAR_ASSET_MISMATCH;
|
return adError.getErrorCode() == AdErrorCode.VAST_LINEAR_ASSET_MISMATCH
|
||||||
|
|| adError.getErrorCode() == AdErrorCode.UNKNOWN_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean hasMidrollAdGroups(long[] adGroupTimesUs) {
|
private static boolean hasMidrollAdGroups(long[] adGroupTimesUs) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user