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

Story Ads: propagate visible attr to transformed body. #24831

Merged
merged 4 commits into from Oct 1, 2019
Merged

Story Ads: propagate visible attr to transformed body. #24831

merged 4 commits into from Oct 1, 2019

Conversation

calebcordry
Copy link
Member

Some ad network partners will transform a creative after upload, including moving content that was previously in the <body> into a separate <div>.

This is a temporary solution until we have full ad network support or finalize a proper API, see #24829

Also introduces an e2e test with a transformed dv3 creative and removes some dv3 specific html from the base e2e test.

@@ -8,9 +8,9 @@
<script async custom-element="amp-fit-text" src="https://cdn.ampproject.org/v0/amp-fit-text-0.1.js"></script>

<meta name="amp-cta-type" content="INSTALL">
<meta name="amp-cta-url" content="https://www.example.com">
<meta name="amp-cta-url" content="https://www.amp.dev">
<meta name="amp4ads-vars-attribution-icon" content="https://tpc.googlesyndication.com/pagead/images/adchoices/icon.png">
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we should substitute it with the icon that is local: /test/fixtures/e2e/amphtml-ads/resource/icon.png

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure, done.

@calebcordry calebcordry merged commit c68ef76 into ampproject:master Oct 1, 2019
@calebcordry calebcordry deleted the story-ad-animation branch October 1, 2019 21:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants