Stay organized with collections
Save and categorize content based on your preferences.
Tag pages with infinite content
You can dynamically generate new ad content using the Google Publisher Tag
library.
A sample of the full code you would use to implement tags with infinite page
contents is shown below. The sample features a button on the bottom of the page
to dynamically generate new content.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],[],[],[],null,["# Tag pages with infinite content\n===============================\n\nYou can dynamically generate new ad content using the Google Publisher Tag\nlibrary.\n| **Caution:** Competitive exclusions and roadblocks are only guaranteed to be honored for ads served by either a single [Single request architecture (SRA)](http://support.google.com/admanager/answer/183282) request or a sequence of serial SRA requests. Making multiple SRA requests in parallel may result in competitive ads being displayed on the same page.\n\nA sample of the full code you would use to implement tags with infinite page\ncontents is shown below. The sample features a button on the bottom of the page\nto dynamically generate new content.\n\nSample implementation\n---------------------\n\n[View demo](https://googleads.github.io/google-publisher-tag-samples/infinite-content/js/demo.html) \n\n### JavaScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/infinite-content/js) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+infinite-content/js)\n\n### TypeScript\n\nLoading...\n----------\n\nLoading...\n----------\n\n[Improve this sample](https://github.com/googleads/google-publisher-tag-samples/tree/main/dist/infinite-content/ts) [Report an issue](https://github.com/googleads/google-publisher-tag-samples/issues/new?labels=documentation&template=sample-feedback.md&title=Sample+feedback%3A+infinite-content/ts)"]]