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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃摉story-ads: update docs #19308
馃摉story-ads: update docs #19308
Conversation
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.
Great work! 馃槃
</template> | ||
</amp-story-auto-ads> | ||
```html | ||
<amp-story-page next-page-no-ad id="page-2" |
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.
Missing >
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.
Done.
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.
ok really done :)
</template> | ||
## Insertion Control | ||
The AMP runtime will determine the best place to insert an ad using our own heuristics. | ||
If there is a specific position in a story that you wish to never show an ad, you |
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.
nit: I think this is worded weird (at least to me). Can we do something like:
If there is a specific position in a story that you wish to never show an ad, you can add the
next-page-no-ad
attribute to the<amp-story-page>
. The insertion algorithm will then ignore the page following these<amp-story-page>
elements as possible places to place an ad.
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.
If that sounds too redundant, feel free to just ignore this.
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.
made changes.
</template> | ||
## Insertion Control | ||
If there is a specific position in a story that you wish to never show an ad, | ||
you can add the `next-page-no-ad` attribute an `<amp-story-page>`. The insertion |
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.
馃敟
* docs * example * comments * >
Trying to get this in before launch. Better docs cleanup coming this week.