Skip to content

Add validation rules for <amp-ad-custom>#22289

Merged
lannka merged 3 commits intoampproject:masterfrom
lannka:amp-ad-custom-validator
May 14, 2019
Merged

Add validation rules for <amp-ad-custom>#22289
lannka merged 3 commits intoampproject:masterfrom
lannka:amp-ad-custom-validator

Conversation

@lannka
Copy link
Copy Markdown
Contributor

@lannka lannka commented May 14, 2019

Closes #22280

# limitations under the license.

tags: { # amp-ad-custom
html_format: AMP # Ads are not allowed inside ads
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd update the comment to be # AMP only as ads are not allowed inside AMP Ads

attr_lists: "common-extension-attrs"
}
tags: { # <amp-ad-custom>
html_format: AMP # Ads are not allowed inside ads
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

same

@lannka lannka merged commit 838a163 into ampproject:master May 14, 2019
@lannka lannka deleted the amp-ad-custom-validator branch May 14, 2019 21:03
alin04 pushed a commit to alin04/amphtml that referenced this pull request May 21, 2019
@alin04 alin04 mentioned this pull request May 21, 2019
alin04 added a commit that referenced this pull request May 21, 2019
* cl/248381896 Revision bump for #22289

* cl/249156543 Allow amp-script with an experiment token.

* cl/249265307 Revision bump for #22372
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.

Add validation rule for amp-ad-custom

3 participants