Validator rule change to support ads in story
See original GitHub issueFor #12381
<amp-story-auto-ads>
has to be a direct child of<amp-story>
- Each
<amp-story>
can only have oneamp-story-auto-ads
child. <amp-story-auto-ads>
takes no attributes, but a child element as its configuration:<script type="application/json">
.<amp-story-auto-ads>
requires extension scriptamp-story-auto-ads.js
- Allow
<template>
to be a direct child of<amp-story-auto-ads>
- If
<template>
is a direct child of<amp-story-auto-ads>
, all its descendants have to follow the same validation rules as<amp-story-grid-layer>
- Other
<template>
rules apply, for example requiring atype
attribute and the corresponding script tag in<head>
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Updates to the style validation rules for search style ad settings
To improve the search ads experience for users and advertisers, we're updating the style validation rules for some search style ad settings.
Read more >Social Validation: Supercharge Your Ads With This Trick
Social validation places your ad under the spotlight and helps you convert. Read this article to find out more about this phenomenon.
Read more >Workflow Validator - Atlassian Developer
This module defines a validator that can be added to workflow transitions (see: Advanced workflow configuration ). Validators check that any input made...
Read more >Ad Campaign - Meta for Developers - Facebook
Setting objective of the campaign will enforce validation on any ads added to the campaign to ensure they also have the correct objective....
Read more >091005revisedendorsementguid... - Federal Trade Commission
45) to the use of endorsements and testimonials in advertising. The Guides provide the basis for voluntary compliance with the law by advertisers...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK, then the plan will be to create a new extension. In terms of separating this out, I recommend the hacky way for a short term, since we don’t want folks including a js file that 404s.
This is done.