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

Doubleclick/AdSense FF: Append error parameter to ad url if XHR CORS fails #10654

Merged
merged 5 commits into from Aug 1, 2017
Merged

Conversation

keithwrightbos
Copy link
Contributor

When XHR CORS ad request fails due to network error, append to ad url parameter aet=n used for frame GET within layoutCallback to help differentiate ad requests due to network failure. Done via the onNetworkFailure function within AmpA4A allowing for specifying new ad url as well as if frame GET should be attempted within layoutCallback (by default uses same url as CORS XHR and attempts frame GET fetch).

/cc @ampproject/a4a

@keithwrightbos
Copy link
Contributor Author

@eshienbrood to take first review pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants