Google cached amp pages does not showing any adsense ads
-
From past 15 days, ads not working in google AMP cache pages. Although when I am going directly to amp version page then ads are showing, example: [ redundant link removed ]
But when i am watching google cached amp pages then ads not showing, example: https://www.google.com/amp/s/www.khushkhabari.in/whey-protein-in-hindi/amp/
Please help me, due to this issue I am losing revenue.
- This topic was modified 2 years, 8 months ago by Jan Dembowski.
The page I need help with: [log in to see the link]
-
Hi @nav865,
Thanks for contacting us; the AMP plugin doesn’t have control over the AMP cache structure; if there were an issue 1 to 2 weeks with the ads configuration, it would be cached.
I have tested the ads and it is showing for me now:
Thank u @fellyph for response.
Just wanna know, are you seeing this ad on direct URL of AMP, or cached in google.
Can you please share full screenshot, just wanted to see URL also.
Issue is with mobile device and i.e cached AMP pages only.
Hi @nav865,
I was testing your website, and I see now AMP-cache version is still loading a different version for auto ads:
non-AMP-cache:
<amp-sticky-ad layout="nodisplay" class="i-amphtml-element i-amphtml-layout-nodisplay i-amphtml-sticky-ad-layout i-amphtml-built i-amphtml-layout" i-amphtml-layout="nodisplay"> <amp-sticky-ad-top-padding class="amp-sticky-ad-top-padding"> </amp-sticky-ad-top-padding> <amp-ad type="adsense" data-ad-client="ca-pub-9678470725158928" data-tag-origin="ampa" data-package="1086655148" data-no-fill="true" width="1440" height="100" class="i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built i-amphtml-layout" i-amphtml-layout="fixed" data-amp-slot-index="0" data-a4a-upgrade-type="amp-ad-network-adsense-impl" style="width: 1440px; height: 100px; --loader-delay-offset: 0ms !important;"> <div fallback=""> <div class="i-amphtml-ad-default-holder" data-ad-holder-text="Ad"></div> </div> <amp-analytics sandbox="true" trigger="immediate" class="i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built" i-amphtml-layout="fixed" aria-hidden="true" hidden="" style="width: 1px; height: 1px;"> <script type="application/json">{"requests":{"csi":"https://csi.gstatic.com/csi?"},"transport":{"xhrpost":false},"triggers":{"adRequestStart":{"on":"ad-request-start","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"afs_lvt.${viewerLastVisibleTime}~afs.${time}"}},"adResponseEnd":{"on":"ad-response-end","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"afe.${time}"}},"adRenderStart":{"on":"ad-render-start","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"ast.${scheduleTime}~ars_lvt.${viewerLastVisibleTime}~ars.${time}","qqid":"${qqid}"}},"adIframeLoaded":{"on":"ad-iframe-loaded","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"ail.${time}"}}},"extraUrlParams":{"s":"ampad","ctx":"2","c":"${correlator}","slotId":"${slotId}","puid":"${requestCount}~${timestamp}"}}</script> </amp-analytics><iframe src="https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-9678470725158928&format=1440x96&w=1440&h=96&ptt=12&adk=3511586976&output=html&bc=7&to=ampa&pv=2&wgl=1&asnt=0-3462079144540896913&dff=Georgia%2C%20%22Times%20New%20Roman%22%2C%20Times%2C%20serif&brdim=-1%2C25%2C-1%2C25%2C1440%2C25%2C1440%2C875%2C1440%2C795&ifi=1&pfx=1&aanf=true&pwprc=1086655148&adf=2336969238&nhd=0&adx=0&ady=699&oid=2&act=sa&is_amp=5&_v=2203041950000&d_imp=1&c=596544003974&ga_cid=GA1.1.264393427.1647592943&ga_hid=3974&dt=1647593454423&biw=1440&bih=795&u_aw=1440&u_ah=875&u_cd=24&u_w=1440&u_h=900&u_tz=0&u_his=2&vis=1&scr_x=0&scr_y=0&url=https%3A%2F%2Fwww.khushkhabari.in%2Fwhey-protein-in-hindi%2F&loc=https%3A%2F%2Fwww.khushkhabari.in%2Fwhey-protein-in-hindi%2Famp%2F%3Fclient%3Dsafari&bdt=268&dtd=164&__amp_source_origin=https%3A%2F%2Fwww.khushkhabari.in" name="{"width":1440,"height":100,"_context":{"ampcontextVersion":"2203041950000","ampcontextFilepath":"https://3p.ampproject.net/2203041950000/ampcontext-v0.js","sourceUrl":"https://www.khushkhabari.in/whey-protein-in-hindi/amp/?client=safari","referrer":"","canonicalUrl":"https://www.khushkhabari.in/whey-protein-in-hindi/","pageViewId":"3974","location":{"href":"https://www.khushkhabari.in/whey-protein-in-hindi/amp/?client=safari"},"startTime":1647593458723,"tagName":"AMP-AD","mode":{"localDev":false,"development":false,"esm":true,"test":false,"rtvVersion":"012203041950000"},"canary":false,"hidden":false,"initialLayoutRect":{"left":0,"top":699,"width":1440,"height":96},"domFingerprint":"2336969238","experimentToggles":{"canary":false,"a4aProfilingRate":false,"doubleclickSraExp":false,"doubleclickSraReportExcludedBlock":true,"flexAdSlots":false,"flexible-bitrate":false,"ios-fixed-no-transfer":false,"story-ad-placements":false,"story-disable-animations-first-page":true,"story-load-inactive-outside-viewport":true,"amp-sticky-ad-to-amp-ad-v4":false,"esm":true,"amp-story-first-page-max-bitrate":false,"story-load-first-page-only":true,"story-ad-page-outlink":false,"amp-geo-ssr":true},"sentinel":"0-3462079144540896913","initialIntersection":{"time":6870,"rootBounds":{"left":0,"top":0,"width":1440,"height":795,"bottom":795,"right":1440,"x":0,"y":0},"boundingClientRect":{"left":0,"top":699,"width":1440,"height":96,"bottom":795,"right":1440,"x":0,"y":699},"intersectionRect":{"left":0,"top":699,"width":1440,"height":96,"bottom":795,"right":1440,"x":0,"y":699},"intersectionRatio":1}}}" height="100" width="1440" title="3rd party ad content" role="region" aria-label="Advertisement" tabindex="0" data-amp-3p-sentinel="0-3462079144540896913" allow="sync-xhr 'none';" frameborder="0" allowfullscreen="" allowtransparency="" scrolling="no" marginwidth="0" marginheight="0" class="i-amphtml-fill-content" id="google_ads_iframe_1" style="visibility: hidden; width: 1440px; height: 96px;"></iframe> </amp-ad><button class="amp-sticky-ad-close-button" aria-label="Close this ad"></button> </amp-sticky-ad>
AMP-cache-version:
<amp-sticky-ad layout="nodisplay" class="i-amphtml-element i-amphtml-layout-nodisplay i-amphtml-sticky-ad-layout i-amphtml-built i-amphtml-layout" i-amphtml-layout="nodisplay" hidden=""> <amp-sticky-ad-top-padding class="amp-sticky-ad-top-padding"></amp-sticky-ad-top-padding> <amp-ad type="adsense" data-ad-client="ca-pub-9678470725158928" data-no-fill="true" width="566" height="100" class="i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built" i-amphtml-layout="fixed" data-amp-slot-index="0" data-a4a-upgrade-type="amp-ad-network-adsense-impl" data-amp-experiment-id="701,1002,1102" style="width: 566px; height: 100px; --loader-delay-offset: 0ms !important;" hidden=""> <div fallback=""> <div class="i-amphtml-ad-default-holder" data-ad-holder-text="Ad"></div> </div> <amp-analytics sandbox="true" trigger="immediate" class="i-amphtml-element i-amphtml-layout-fixed i-amphtml-layout-size-defined i-amphtml-built" i-amphtml-layout="fixed" aria-hidden="true" hidden="" style="width: 1px; height: 1px;"> <script type="application/json">{"requests":{"csi":"https://csi.gstatic.com/csi?"},"transport":{"xhrpost":false},"triggers":{"adRequestStart":{"on":"ad-request-start","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"afs_lvt.${viewerLastVisibleTime}~afs.${time}"}},"adResponseEnd":{"on":"ad-response-end","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"afe.${time}"}},"adRenderStart":{"on":"ad-render-start","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"ast.${scheduleTime}~ars_lvt.${viewerLastVisibleTime}~ars.${time}","qqid":"${qqid}"}},"adIframeLoaded":{"on":"ad-iframe-loaded","request":"csi","sampleSpec":{"sampleOn":"a4a-csi-${pageViewId}","threshold":1},"selector":"amp-ad","selectionMethod":"closest","extraUrlParams":{"met.a4a":"ail.${time}"}}},"extraUrlParams":{"s":"ampad","ctx":"2","c":"${correlator}","slotId":"${slotId}","puid":"${requestCount}~${timestamp}"}}</script> </amp-analytics> <div slot="i-amphtml-svc" class="i-amphtml-svc i-amphtml-loading-container i-amphtml-fill-content amp-hidden"> <div class=""> <div class="i-amphtml-new-loader i-amphtml-new-loader-size-default"> <div class="i-amphtml-new-loader-shim"></div> <div class="i-amphtml-new-loader-logo"> <div class="i-amphtml-new-loader-ad-logo"><span class="i-amphtml-new-loader-ad-label">Ad</span> </div> </div> <div class="i-amphtml-new-loader-spinner-wrapper"><svg class="i-amphtml-new-loader-spinner" viewBox="0 0 48 48"> <path class="i-amphtml-new-loader-spinner-path" fill="none" d="M24 2a22 22 0 10.01 0m33.27 5.65a22 22 0 102.74-2.1m46.13 1.35a22 22 0 105.96-3.44m42.96 2.74a22 22 0 109.49-3.93m39.46 3.28a22 22 0 1013.13-3.52M253 4.95a22 22 0 1016.69-2.2m32.32 1.65a22 22 0 1019.98 0m29.06-.5a22 22 0 1022.79 3m26.28-3.44a22 22 0 1024.98 6.69m24.1-7.07a22 22 0 1026.4 10.94m22.71-11.27a22 22 0 1026.94 15.56m22.18-15.83a22 22 0 1026.54 20.37m22.59-20.58a22 22 0 1025.17 25.17M645.7 2.12a22 22 0 1022.84 29.76m26.31-29.85a22 22 0 1019.6 33.95M744 2a22 22 0 1015.56 37.56m33.59-37.53a22 22 0 1010.83 40.42M842.3 2.12a22 22 0 105.58 42.42m43.56-42.27a22 22 0 100 43.46m49.13-43.25a22 22 0 10-5.73 43.49m54.85-43.22a22 22 0 10-11.39 42.5m60.5-42.17a22 22 0 00-16.79 40.53m65.87-40.15a22 22 0 00-21.73 37.64m70.8-37.2a22 22 0 00-26.05 33.94m75.09-33.44a22 22 0 00-29.59 29.59M1235 4.95a22 22 0 00-32.25 24.75m81.23-24.15a22 22 0 00-33.95 19.6m82.9-18.95a22 22 0 00-34.66 14.36m83.58-13.66a22 22 0 00-34.38 9.21m83.25-8.46a22 22 0 00-33.17 4.37m82.01-3.58a22 22 0 00-31.11 0m81.35 2.63a22 22 0 00-32.52-3.42m82.32 6.36a22 22 0 00-33.45-7.11m82.77 10.3a22 22 0 00-33.85-11m82.66 14.36a22 22 0 00-33.71-15.01M1726 24a22 22 0 00-33-19.05m80.73 22.49a22 22 0 00-31.72-23.04m78.91 26.4a22 22 0 00-29.87-26.9m76.55 30.09a22 22 0 00-27.49-30.53m73.69 33.47a22 22 0 00-24.6-33.85m70.36 36.48a22 22 0 00-21.25-36.81m66.62 39.05a22 22 0 00-17.51-39.32m62.57 41.12a22 22 0 00-13.43-41.33m58.24 42.65a22 22 0 00-9.1-42.8m53.74 43.61a22 22 0 00-4.59-43.7M2184 46a22 22 0 100-44m44.56 43.73a22 22 0 104.59-43.7m40.05 42.89a22 22 0 109.1-42.8m35.71 41.48a22 22 0 1013.43-41.33m31.63 39.53a22 22 0 1017.51-39.32m27.86 37.08a22 22 0 1021.25-36.81m24.51 34.18a22 22 0 1024.6-33.85m21.6 30.91a22 22 0 1027.49-30.53m19.19 27.34a22 22 0 1029.87-26.9m17.32 23.54a22 22 0 1031.72-23.04M2642 24a22 22 0 1033-19.05m15.27 15.61a22 22 0 1033.71-15.01m15.1 11.65a22 22 0 1033.85-11m15.47 7.81a22 22 0 1033.45-7.11m16.35 4.17a22 22 0 1032.52-3.42m17.72.79a22 22 0 1031.11 0m17.73-.79a22 22 0 1032.52 3.42m16.35-4.17a22 22 0 1033.45 7.11m15.47-7.81a22 22 0 1033.85 11m15.1-11.65a22 22 0 1033.71 15.01M3133 4.95A22 22 0 103166 24m16.01-19.6a22 22 0 1031.72 23.04m17.32-23.54a22 22 0 1029.87 26.9m19.2-27.34a22 22 0 1027.49 30.53m21.59-30.91a22 22 0 1024.6 33.85m24.51-34.18a22 22 0 1021.25 36.81m27.87-37.08a22 22 0 1017.51 39.32m31.62-39.53a22 22 0 1013.43 41.33m35.71-41.48a22 22 0 109.1 42.8m40.05-42.89a22 22 0 104.59 43.7M3624 2a22 22 0 100 44m49.15-43.97a22 22 0 00-4.59 43.7m53.74-43.61a22 22 0 00-9.1 42.8m58.24-42.65a22 22 0 00-13.43 41.33m62.56-41.12a22 22 0 00-17.51 39.32m66.63-39.05a22 22 0 00-21.25 36.81m70.36-36.48a22 22 0 00-24.6 33.85m73.68-33.47a22 22 0 00-27.49 30.53m76.56-30.09a22 22 0 00-29.87 26.9m78.91-26.4a22 22 0 00-31.72 23.04M4115 4.95A22 22 0 004082 24m81.98-18.45a22 22 0 00-33.71 15.01m82.66-14.36a22 22 0 00-33.85 11m82.77-10.3a22 22 0 00-33.45 7.11m82.32-6.36a22 22 0 00-32.52 3.42"> </path> </svg></div> </div> </div> </div> </amp-ad> </amp-sticky-ad>
I suggest check with the Ads Team why this is happening, the AMP plugin is printing the auto ads normally.
Hi @nav865,
More information about your issue, checking the AMP-cache version, there is a error on the browser console:
[amp-auto-ads] No ad placements found for publisher ID 'ca-pub-9678470725158928'. Check that the provided publisher ID is correct.
You can contact the ads help center for more information: https://support.google.com/adsense/?hl=en#topic=3373519
Thank you for support as always.
After exploring and hunting solution of this issue, none of them worked. I think issue is with google adsense end.
So finally I have changed Auto Ads to Manual Ads and now Ads are displaying on cached amp as well.
Thank you @fellyph
Hi @nav865,
Amazing, good to hear that you find a solution.
I will close this topic but feel free to open a new topic.
- The topic ‘Google cached amp pages does not showing any adsense ads’ is closed to new replies.