<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://docs.iqd-ao.de/en/index.php?action=history&amp;feed=atom&amp;title=AMP_Ad_labelling</id>
	<title>AMP Ad labelling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://docs.iqd-ao.de/en/index.php?action=history&amp;feed=atom&amp;title=AMP_Ad_labelling"/>
	<link rel="alternate" type="text/html" href="http://docs.iqd-ao.de/en/index.php?title=AMP_Ad_labelling&amp;action=history"/>
	<updated>2026-04-29T01:10:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://docs.iqd-ao.de/en/index.php?title=AMP_Ad_labelling&amp;diff=58&amp;oldid=prev</id>
		<title>Tlohmann at 08:14, 22 March 2022</title>
		<link rel="alternate" type="text/html" href="http://docs.iqd-ao.de/en/index.php?title=AMP_Ad_labelling&amp;diff=58&amp;oldid=prev"/>
		<updated>2022-03-22T08:14:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:14, 22 March 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 55:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Kategorie&lt;/del&gt;:Ad Technology]][[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Kategorie&lt;/del&gt;:AMP]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category&lt;/ins&gt;:Ad Technology]][[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Category&lt;/ins&gt;:AMP]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[de:AMP Anzeigenkennzeichnung]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[de:AMP Anzeigenkennzeichnung]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tlohmann</name></author>
	</entry>
	<entry>
		<id>http://docs.iqd-ao.de/en/index.php?title=AMP_Ad_labelling&amp;diff=52&amp;oldid=prev</id>
		<title>Tlohmann: Created page with &quot;Since the ad controller is not built into AMP pages, ad labelling must be done by the publisher. This guide is an example of how to &quot;hide&quot; the ad tag on an AMP page, provided no ad has been played on a placement.  ==Example structure of an ad label== &lt;syntaxhighlight lang=&quot;html&quot;&gt; &lt;div class=&quot;iqampcenter&quot;&gt;     &lt;amp-ad&gt; … &lt;/amp-ad&gt;     &lt;div class=&quot;iqadmarker&quot;&gt;Anzeige&lt;/div&gt; &lt;/div&gt; &lt;/syntaxhighlight&gt; *The &quot;iqadmarker&quot; div is positioned behind the amp-ad tag in the HTML cod...&quot;</title>
		<link rel="alternate" type="text/html" href="http://docs.iqd-ao.de/en/index.php?title=AMP_Ad_labelling&amp;diff=52&amp;oldid=prev"/>
		<updated>2022-03-22T08:04:46Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Since the ad controller is not built into AMP pages, ad labelling must be done by the publisher. This guide is an example of how to &amp;quot;hide&amp;quot; the ad tag on an AMP page, provided no ad has been played on a placement.  ==Example structure of an ad label== &amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt; &amp;lt;div class=&amp;quot;iqampcenter&amp;quot;&amp;gt;     &amp;lt;amp-ad&amp;gt; … &amp;lt;/amp-ad&amp;gt;     &amp;lt;div class=&amp;quot;iqadmarker&amp;quot;&amp;gt;Anzeige&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/syntaxhighlight&amp;gt; *The &amp;quot;iqadmarker&amp;quot; div is positioned behind the amp-ad tag in the HTML cod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Since the ad controller is not built into AMP pages, ad labelling must be done by the publisher. This guide is an example of how to &amp;quot;hide&amp;quot; the ad tag on an AMP page, provided no ad has been played on a placement.&lt;br /&gt;
&lt;br /&gt;
==Example structure of an ad label==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;iqampcenter&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;amp-ad&amp;gt; … &amp;lt;/amp-ad&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;iqadmarker&amp;quot;&amp;gt;Anzeige&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*The &amp;quot;iqadmarker&amp;quot; div is positioned behind the amp-ad tag in the HTML code.&lt;br /&gt;
*The surrounding div container &amp;quot;iqampcenter&amp;quot; gets additional CSS styling:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
display: flex; &lt;br /&gt;
flex-direction: column;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
*The &amp;quot;iqadmarker&amp;quot;-div gets the CSS styling:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
order: -1;&lt;br /&gt;
display:none;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:Thus it slips in front of the amp-ad and is not visible at first.&lt;br /&gt;
*If an ad is booked, delivered and the amp-ad is displayed as a result, the ad label will appear with the following code:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.iqampcenter &amp;gt; amp-ad:not([hidden]) + .iqadmarker { &lt;br /&gt;
    display: table; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;iqampcenter&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;iqadmarker&amp;#039;&amp;#039;&amp;#039; are of course only example names, which can be replaced by better names.&lt;br /&gt;
==Summary==&lt;br /&gt;
For a quick overview, here are the code blocks used again:&lt;br /&gt;
&lt;br /&gt;
===HTML structure===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;html&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;iqampcenter&amp;quot; &amp;gt;&lt;br /&gt;
    &amp;lt;amp-ad … &amp;lt;/amp-ad&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;iqadmarker&amp;quot;&amp;gt;Anzeige&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===CSS===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;css&amp;quot;&amp;gt;&lt;br /&gt;
.iqampcenter {&lt;br /&gt;
    display: flex; &lt;br /&gt;
    flex-direction: column;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.iqadmarker {&lt;br /&gt;
    order: -1;&lt;br /&gt;
    display:none;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
.iqampcenter &amp;gt; amp-ad:not([hidden]) + .iqadmarker { &lt;br /&gt;
    display: table; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Ad Technology]][[Kategorie:AMP]]&lt;br /&gt;
[[de:AMP Anzeigenkennzeichnung]]&lt;/div&gt;</summary>
		<author><name>Tlohmann</name></author>
	</entry>
</feed>