Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This is strange, I have tested the normal AMP-ad Code and it worked.

    can you please share the AMP-Ad code that you have used?

    I will test it on my end

    Thread Starter Marco Panichi

    (@marcopanichi)

    hi Ahmed, thank you for your response.

    Here are the tags:

    <amp-ad width=300 height=250
        type="doubleclick"
        data-slot="/5966054/BraviBimbi/BraviBimbi_amp_ATF"
        rtc-config='{"vendors": {"prebidappnexus": {"PLACEMENT_ID": "16057439"}}, "timeoutMillis": 1000}'>
    </amp-ad>
    <amp-ad width=300 height=250
        type="doubleclick"
        data-slot="/5966054/BraviBimbi/BraviBimbi_amp_intext"
        rtc-config='{"vendors": {"prebidappnexus": {"PLACEMENT_ID": "16057441"}}, "timeoutMillis": 1000}'>
    </amp-ad>
    <amp-ad width=300 height=250
        type="doubleclick"
        data-slot="/5966054/BraviBimbi/BraviBimbi_amp_BTF"
        rtc-config='{"vendors": {"prebidappnexus": {"PLACEMENT_ID": "16057414"}}, "timeoutMillis": 1000}'>
    </amp-ad>
    Thread Starter Marco Panichi

    (@marcopanichi)

    For the record: html tags on the title of this thread was stripped; the original title was “The tag <amp-ad> inserted via widget becomes <amp> (and the page doesn’t validate)”

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I have added “Custom HTML” widget and added one of the code provided by you and they seems to be working fine.

    I would recommend you to report it as a bug on https://github.com/ahmedkaludi/accelerated-mobile-pages/issues

    Our dev team works closely on the bugs and helps you resolve with the update.

    Thread Starter Marco Panichi

    (@marcopanichi)

    Thread Starter Marco Panichi

    (@marcopanichi)

    Hi Ahmed, I solved lowering the priority of the filter that injected the widget into the content. Thank you for the support, Marco

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    I’m glad you were able to solve it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The tag inserted via widget becomes (and the page doesn’t valida’ is closed to new replies.