Error: Unknown attribute for adsense: adFormat.
my adsense code
<amp-ad class="ork" data-loading-strategy="1" type="adsense" layout="fill" data-ad-client="ca-pub-5100XXXXX" data-ad-slot="91XXXX" data-ad-format="link">
Error: Unknown attribute for adsense: adFormat. at y (3p.js:289) at 3p.js:227 at xa (3p.js:73) at Ee (3p.js:70) at window.draw3p (integration.js:525) at frame.html:9
What browsers are affected?
Chrome console last version All browsers? Some specific browser? What device type? windows 10
Which AMP version is affected?
Powered by AMP ⚡ HTML – Version 1526498116488
I also want to ask you something. data-loading-strategy = "" Can I use it for AdSense? And what is the fastest ad load setting? data-loading-strategy = "1" or data-loading-strategy = "0"?
@kopollo I don't see data-ad-format is listed in adsense doc. @keithwrightbos @bradfrizzell is it supported by adsense?
data-loading-strategy is to lazy load an ad. Leaving it unset is the fastest.
@keithwrightbos is render-on-idle also available in adsense?
We do not currently have data-ad-format as an option. I assume you're trying to get radlinks on your page?
Regarding loading strategy, you can give a number or try data-loading-strategy=prefer-viewability-over-views (which sets the value to 1.25, default without it is 3) or you can specify a number (< 3) which within how many viewports a creative is allowed to start rendering. Note that setting this value will increase your viewability rate (though it will hurt total number of viewable impression) but lead to an increase in how often users see a blank rectangle or otherwise incompletely loaded creative.
Note that render on idle is currently not supported for amp-ad type=adsense slots.
Closing due to inactivity. Please re-open if needed