-
Notifications
You must be signed in to change notification settings - Fork 4
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
Track CSAI ad media failures #33
Conversation
…-ima into update/track-csai-fails
if (adData && adData[@"logData"]) { | ||
NSDictionary *errorLog = (NSDictionary *)adData[@"logData"]; | ||
if (errorLog) { | ||
if (errorLog[@"errorCode"] || errorLog[@"errorMessage"] || errorLog[@"type"]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these keys coming from IMA? (If so wondering if we can add a doc link if there is one to help future us)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They come from IMA, yes but there's no public constants for them. I got these values by failing requests with proxyman then dumping events the IMASDKEvents to the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## Updates * Track CSAI ad media failures (#33) ## Improvements * Ima ads event data populated. (#30) * fix: `adplay` and `adresponse` sent at incorrect time (#32) Co-authored-by: Tomislav Kordic <[email protected]> Co-authored-by: Emily Dixon <[email protected]> Co-authored-by: GitHub <[email protected]>
No description provided.