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

feat: adds ad log, fixes #698 #704

Merged
merged 5 commits into from
Jul 25, 2018
Merged

Conversation

ypavlotsky
Copy link
Contributor

No description provided.

*/
PlayerWrapper.prototype.onAdLog = function(adEvent) {
const adData = adEvent.getAdData();
if (adData['adError']) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We call this adlog, but we only propagate it if it's an error inside of a log. We should either rename it (nonFatalError or something) or just propagate all LOG messages and let the user check to see if it's an error or not.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made it pass along the entire LOG message, in addition to the error message, if present.

@ypavlotsky ypavlotsky merged commit 3b16758 into googleads:master Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants