Hello, When I do conditional rendering on-page to get data from API so due to this time delay Ads are not showing. If I add those Ads tags before the conditional looping it's showing Ads correctly. so it is possible that ads will not load perfectly to delayed time in rendering?
Looping back to answer this question here (the user asked it privately via our contact form as well). After your API has returned and your've added the Ad tags to the page, you can call AdPlugg.run() to have AdPlugg find and fill the new Ad Tags. You can call AdPlugg.run() like so:
You can also call AdPlugg.run() asynchronously (before the AdPlugg ad.js script has loaded) using:
If you are regularly adding new ad tags to the page, you can use AdPlugg.watch() instead of AdPlugg.run(). As you can probably guess, AdPlugg.watch() will watch for new Ad Tags that are added to the page and automatically fill them.
You can call AdPlugg.watch() synchronously using:
Or asynchronously (before the AdPlugg ad.js script has loaded) using: