-
Notifications
You must be signed in to change notification settings - Fork 6
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
InReadAdBaseListener error codes, descriptions and fail reasons #217
Comments
Hello, I would like to know which version are you using to find non obfucstated code. As we are using an external engine to manage the logic of the ad, there is no onAdError on the Native SDK, you can find below the desired values. Here at the codes for MEDIA_FILE_GENERAL_ERROR = 100, // This fatal error can be caused when the component is unable to display media file for any reason other than those below
MEDIA_FILE_NOT_FOUND = 101, // When the component doesn't succeed to found the media file, usually from HTTP 404 status code
MEDIA_FILE_TIMEOUT = 102, // When it's impossible to get the media file in the allotted time
MEDIA_FILE_UNSUPPORTED = 103, // When the media format file is not supported by the asset
MEDIA_FILE_DISPLAYING_ERROR = 104, // When component get the media file but fail to display it, for example it can be due to a mismatch between the MIME type and the media file type
MEDIA_FILE_JS_ERROR = 105, // When an error is triggered by the js content from the asset
UNDEFINED_ERROR = 900 // A component error not linked to the media file Plus, you can add all the VAST error to it Here are the codes for networkError = 'networkError',
serverError = 'serverError',
notFilled = 'notFilled',
fraud = 'fraud',
badResponse = 'badResponse',
incompatibleAdReceived = 'incompatibleAdReceived',
vastError = 'vastError',
incompatibilityContext = 'incompatibility-context' Hope this helps, |
Hello @github-maxime-liege , I use the SDK v5.1.1. And I was referring to public classes mentioning some non-obfuscated code. The provided error codes and fail reasons will help me. But I would be interested to know if I could access them in the SDK rather than hardcoding in my app? For example, something like Probably you may be interested in why I am trying to handle errors by myself. Well, we would like to understand better how often errors happen and what kind of errors. And for example, we would like to exclude |
Hello, sorry for the late reply, the issue was addressed to someone that is no longer in the team. |
I am working on the InRead Teads implementation in my app.
InReadAdViewListener
extendsInReadAdBaseListener
and provide 2 error/failure methods:I would like to perform different actions on different error types. For example, I would like to know if there is the
notFilled
error or theserverError
.Could you provide me with possible values for:
-- code
-- description
-- failreason
I checked the SDK code (which is not obfuscated) but wasn't able to find any
ErrorCode
class.The text was updated successfully, but these errors were encountered: