Stanley Bateswar
Stanley Bateswar

Reputation: 125

AMP page invalid meta name="amp-ad-refresh"

I'd like to add the feature AMP Ad Refresh according to this article:

https://github.com/ampproject/amphtml/blob/master/extensions/amp-ad-network-doubleclick-impl/amp-ad-network-doubleclick-impl-internal.md#sra-single-request-architecture-alpha

Unfortunately in my AMP page, I get an error in my console as well as in my extension:

The attribute 'name' in tag 'meta name= and content=' is set to the invalid value 'amp-ad-refresh'.

But according to the article, it is a valid tag.

Does anyone know how to fix this error?

Upvotes: 0

Views: 478

Answers (1)

abielita
abielita

Reputation: 13469

You may check this documentation. The Invalid attribute value error indicates that an HTML tag has an attribute with an allowed name, but not an allowed value. For example, one common trigger for this error is invalid values for URLs. All URLs values (in href and src attributes) must match one of these possible attribute values.

Upvotes: 0

Related Questions