Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

The script for 'amp-ad' is connected twice if on page used at the same time amp-ad and amp-embed tags #198

Closed
BulatNsbln opened this issue Nov 11, 2020 · 1 comment

Comments

@BulatNsbln
Copy link
Contributor

BulatNsbln commented Nov 11, 2020

Example:

Vue component template:

<template>
     section
           amp-ad(
                width="300"
                height="250"
                 type="doubleclick"
                 data-slot="test"
          )

          amp-embed(
                 height="354"
                 type="zen"
                 data-clid="test"
          )
</template>

The validator will show a warning:

The tag 'amp-ad extension .js script' appears more than once in the document. This will soon be an error.

BulatNsbln added a commit to BulatNsbln/amp-module that referenced this issue Nov 11, 2020
BulatNsbln added a commit to BulatNsbln/amp-module that referenced this issue Nov 11, 2020
@farnabaz
Copy link
Member

farnabaz commented Nov 11, 2020

Thanks,
I'll publish new version this week

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants