{"id":1,"date":"2016-12-20T00:23:43","date_gmt":"2016-12-20T00:23:43","guid":{"rendered":"http:\/\/genecy.com\/blog\/?p=1"},"modified":"2025-07-11T11:02:52","modified_gmt":"2025-07-11T08:02:52","slug":"implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager","status":"publish","type":"post","link":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/","title":{"rendered":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager"},"content":{"rendered":"\n<p>In the ever-evolving world of digital advertising, it&#8217;s essential to stay updated with the latest technologies and platforms. One such transition was the renaming of DoubleClick for Publishers (DFP) to Google Ad Manager (GAM). This post will guide you on how to implement infinite ad loading on pages with dynamic content using the updated Google Ad Manager.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Almost any dynamic website splits content into multiple pages to enhance user engagement and ease of navigation. Some sites offer paging controls and reload the entire page upon navigation; others append new content when a user scrolls to the bottom (infinite scroll). These pages are very effective for placing ads to increase your revenue. Implementing GAM tags on each page is straightforward when it loads fully with the site&#8217;s header and footer. However, loading ads on an infinite scroll website or a site with AJAX pagination requires a special approach.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.genecy.com\/tests\/gam\/infinite-ads\/index.html\">Check out the result of the tutorial here.<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A website with GAM tags integrated. It&#8217;s assumed that you know how to integrate GAM on your website. If not, refer to the <a href=\"https:\/\/support.google.com\/admanager\/answer\/1638622\" rel=\"nofollow\" target=\"_blank\">official documentation on implementing tags<\/a>.<\/li>\n\n\n\n<li>Prior knowledge of JavaScript coding and HTML is assumed for this tutorial. Understanding the implementation methods will allow you to realize dynamic ad loading with other programming languages.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Implementation<\/h2>\n\n\n\n<p>To kickstart the process, create a JavaScript function that generates a new ad slot with an ad unit path for infinite loading.<\/p>\n\n\n\n<p>In a standard implementation, you might define an ad unit like so:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\ngoogletag.defineSlot(&#039;\/4991722\/ad_468x60px_1&#039;, &#x5B;468, 60], &#039;div-gpt-cont-ad&#039;).addService(googletag.pubads());\n<\/pre><\/div>\n\n\n<p>For every subsequent duplicate, create the same definition but with a different id. In the example above, the id is \u201cdiv-gpt-cont-ad\u201d. The next IDs will be \u201cdiv-gpt-cont-ad-X\u201d where X is a consequent number. Generate a unique ID with this code:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst adId = &#039;ad-&#039; + Date.now();\n<\/pre><\/div>\n\n\n<p>When displaying a defined ad slot, you might use code similar to this:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;div class=&quot;gamAd&quot; id=&#039;div-gpt-cont-ad&#039; style=&#039;height:60px; width:468px;&#039;&gt;\n\t&lt;script type=&#039;text\/javascript&#039;&gt;\n\tgoogletag.cmd.push(function() { googletag.display(&#039;div-gpt-cont-ad&#039;); });\n\t&lt;\/script&gt;\n&lt;\/div&gt;\n<\/pre><\/div>\n\n\n<p>Here, the ID \u201cdiv-gpt-cont-ad\u201d is used, so for new ad slots, it&#8217;s crucial to use the newly generated ad ID.<\/p>\n\n\n\n<p>To achieve infinite ad loading, employ the GPT function <code>googletag.pubads().refresh()<\/code>. The function <code>googletag.display<\/code> doesn\u2019t suffice in this scenario.<\/p>\n\n\n\n<p>Additionally, due to GAM&#8217;s correlator values among other technical reasons (not all of which are known), subsequent ad loading works for the next 4 ad requests. After that, an empty ad slot is returned. A workaround is to use the <code>googletag.destroySlots<\/code> method to destroy previously generated ad units. In this example, all generated ad units are stored in a variable, and the 1st one is removed to maintain an array of four ad units at all times. However, if a user scrolls up, they will not see the previously generated ads.<\/p>\n\n\n\n<p>Here is a JavaScript function that generates and adds the ad unit on the next page or upon scrolling down:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nconst generateGAMAd = (eLastItem, slotCode, size) =&gt; {\n\tconst adId = &#039;ad-&#039; + Date.now();\n\tconst eAd = document.createElement(&#039;div&#039;);\n\teAd.id = adId;\n\teAd.classList.add(&#039;gamAd&#039;);\n\teAd.style.height = &#039;60px&#039;;\n\teAd.style.width = &#039;468px&#039;;\n\tif (eLastItem.nextSibling) {\n\t\teLastItem.parentNode.insertBefore(eAd, eLastItem.nextSibling);\n\t} else {\n\t\teLastItem.parentNode.appendChild(eAd);\n\t}\n\tgoogletag.cmd.push(function() {\n\t\tif (adSlots.length &gt;= pageConf.activeInfiniteAds) {\n\t\t\tconst firstAd = adSlots.shift();\n\t\t\tconst firstAdId = firstAd.getSlotElementId();\n\t\t\tconst firstAdEl = document.getElementById(firstAdId);\n\t\t\tgoogletag.destroySlots(&#x5B;firstAd]);\n\t\t\tfirstAdEl.parentNode.removeChild(firstAdEl);\n\t\t}\n\t\tconst slot = googletag.defineSlot(slotCode, size, adId);\n\t\tslot.addService(googletag.pubads());\n\t\tadSlots.push(slot);\n\t\tgoogletag.pubads().refresh(&#x5B;slot]);\n\t});\n};\n<\/pre><\/div>\n\n\n<p>The <code>eLastItem<\/code> argument is the item after which a new ad slot will be generated.<\/p>\n\n\n\n<p>In our final example, you&#8217;ll see also a 4th argument &#8211; targetings, which allows passing targetings to a new ad slot as well.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Result<\/h2>\n\n\n\n<p>Now, you can load new ads infinitely without reloading the entire page. The primary downside is that initially loaded ads will be removed, and a user will not see them if they scroll back. This issue can be mitigated by appending some default ads, like self-campaigns or other HTML code.<\/p>\n\n\n\n<p>Feel free to share your thoughts or ask any questions in the comments section below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Resources for more information<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.genecy.com\/tests\/gam\/infinite-ads\/index.html\">Demo for this tutorial<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/genecy\/gam-infinite-ad-scroll\" target=\"_blank\" rel=\"nofollow\">Source code<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/developers.google.com\/publisher-tag\/reference\" target=\"_blank\" rel=\"nofollow\">Google Publisher Tag (GPT) reference<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the ever-evolving world of digital advertising, it&#8217;s essential to stay updated with the latest technologies and platforms. One such transition was the renaming of DoubleClick for Publishers (DFP) to Google Ad Manager (GAM). This post will guide you on how to implement infinite ad loading on pages with dynamic content using the updated Google &hellip; <a href=\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":71,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"no","_lmt_disable":"","footnotes":""},"categories":[137],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gam-guides"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy\" \/>\n<meta property=\"og:description\" content=\"In the ever-evolving world of digital advertising, it&#8217;s essential to stay updated with the latest technologies and platforms. One such transition was the renaming of DoubleClick for Publishers (DFP) to Google Ad Manager (GAM). This post will guide you on how to implement infinite ad loading on pages with dynamic content using the updated Google &hellip; Continue reading &quot;Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\" \/>\n<meta property=\"og:site_name\" content=\"Google Ad Manager Tutorials &amp; Resources | Genecy\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/genecycom\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-20T00:23:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-11T08:02:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1056\" \/>\n\t<meta property=\"og:image:height\" content=\"781\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Genecy Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@genecy_com\" \/>\n<meta name=\"twitter:site\" content=\"@genecy_com\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Genecy Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\"},\"author\":{\"name\":\"Genecy Team\",\"@id\":\"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687\"},\"headline\":\"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager\",\"datePublished\":\"2016-12-20T00:23:43+00:00\",\"dateModified\":\"2025-07-11T08:02:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\"},\"wordCount\":583,\"commentCount\":5,\"image\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png\",\"articleSection\":[\"GAM Guides\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\",\"url\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\",\"name\":\"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy\",\"isPartOf\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png\",\"datePublished\":\"2016-12-20T00:23:43+00:00\",\"dateModified\":\"2025-07-11T08:02:52+00:00\",\"author\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage\",\"url\":\"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png\",\"contentUrl\":\"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png\",\"width\":1056,\"height\":781},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.genecy.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.genecy.com\/resources\/#website\",\"url\":\"https:\/\/www.genecy.com\/resources\/\",\"name\":\"Google Ad Manager Tutorials &amp; Resources | Genecy\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.genecy.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687\",\"name\":\"Genecy Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g\",\"caption\":\"Genecy Team\"},\"url\":\"#\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/","og_locale":"en_US","og_type":"article","og_title":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy","og_description":"In the ever-evolving world of digital advertising, it&#8217;s essential to stay updated with the latest technologies and platforms. One such transition was the renaming of DoubleClick for Publishers (DFP) to Google Ad Manager (GAM). This post will guide you on how to implement infinite ad loading on pages with dynamic content using the updated Google &hellip; Continue reading \"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager\"","og_url":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/","og_site_name":"Google Ad Manager Tutorials &amp; Resources | Genecy","article_publisher":"https:\/\/www.facebook.com\/genecycom\/","article_published_time":"2016-12-20T00:23:43+00:00","article_modified_time":"2025-07-11T08:02:52+00:00","og_image":[{"width":1056,"height":781,"url":"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png","type":"image\/png"}],"author":"Genecy Team","twitter_card":"summary_large_image","twitter_creator":"@genecy_com","twitter_site":"@genecy_com","twitter_misc":{"Written by":"Genecy Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#article","isPartOf":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/"},"author":{"name":"Genecy Team","@id":"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687"},"headline":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager","datePublished":"2016-12-20T00:23:43+00:00","dateModified":"2025-07-11T08:02:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/"},"wordCount":583,"commentCount":5,"image":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png","articleSection":["GAM Guides"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/","url":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/","name":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager - Google Ad Manager Tutorials &amp; Resources | Genecy","isPartOf":{"@id":"https:\/\/www.genecy.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage"},"image":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage"},"thumbnailUrl":"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png","datePublished":"2016-12-20T00:23:43+00:00","dateModified":"2025-07-11T08:02:52+00:00","author":{"@id":"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687"},"breadcrumb":{"@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#primaryimage","url":"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png","contentUrl":"https:\/\/www.genecy.com\/resources\/wp-content\/uploads\/2016\/03\/ajax-loading.png","width":1056,"height":781},{"@type":"BreadcrumbList","@id":"https:\/\/www.genecy.com\/resources\/1-implementing-infinite-ad-loading-on-pages-with-dynamic-content-using-google-ad-manager\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.genecy.com\/resources\/"},{"@type":"ListItem","position":2,"name":"Implementing Infinite Ad Loading on Pages with Dynamic Content using Google Ad Manager"}]},{"@type":"WebSite","@id":"https:\/\/www.genecy.com\/resources\/#website","url":"https:\/\/www.genecy.com\/resources\/","name":"Google Ad Manager Tutorials &amp; Resources | Genecy","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.genecy.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.genecy.com\/resources\/#\/schema\/person\/784f000634e575eac8ba17713028c687","name":"Genecy Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c21246161fe33fc0f26a360b7c31f84abc26b853013b0eee676ca62c707efc5c?s=96&d=mm&r=g","caption":"Genecy Team"},"url":"#"}]}},"modified_by":"Genecy Team","_links":{"self":[{"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":22,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":546,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/posts\/1\/revisions\/546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/media\/71"}],"wp:attachment":[{"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.genecy.com\/resources\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}