Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vast ad load time out issue. #3691

Closed
ZohaibGhafoor opened this issue Jan 10, 2018 · 2 comments
Closed

vast ad load time out issue. #3691

ZohaibGhafoor opened this issue Jan 10, 2018 · 2 comments
Assignees

Comments

@ZohaibGhafoor
Copy link

ZohaibGhafoor commented Jan 10, 2018

ImaAdsLoader.Builder imaAdsLoaderBuilder = new ImaAdsLoader.Builder(this);
imaAdsLoaderBuilder.setVastLoadTimeoutMs(60000);
adsLoader = imaAdsLoaderBuilder.buildForAdTag(adTagUri);

i set the vastadloadtimeout to 60000 but i still get this error.

AdError [errorType: PLAY, errorCode: AdErrorCode [name: VAST_MEDIA_LOAD_TIMEOUT, number: 402], message: VAST media file loading reached a timeout of 8 seconds.]

@andrewlewis
Copy link
Collaborator

I think the VAST load timeout applies to the request for the ad tag XML, whereas the timeout you're seeing relates to loading the ad media. It looks like the Android IMA SDK currently doesn't provide a way to customize media load timeout.

I can file a feature request to be able to customize the media load timeout (though eight seconds sounds like a long time for users to wait for an ad to start!).

@andrewlewis
Copy link
Collaborator

[Internal reference: b/18444194]

ojw28 pushed a commit that referenced this issue Apr 16, 2018
Issue: #3691

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=192769801
@google google locked and limited conversation to collaborators Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants