Help Center Manage Your Account Ad Tag
Can I have ads refresh automatically without a page reload?
By default, an ad placement does not reload itself until the visitor refreshes the web page or goes to a new page. Instead of this default behavior, you can set the number of seconds in the ad tag so that the ad server automatically fetches and displays a new ad. This feature is also called impression recycling. The refresh happens automatically without your visitors reloading their current viewing web page.How It Works
After every X seconds, the ad placement will be refreshed, a new ad is displayed and a new impression is recorded. This feature is useful for "sticky" pages, pages with a lot of contents, or highly interactive contents. For example: playable web games, live chat area, streaming video and music.Refresh Setting
- Click on a zone name
- Click on tab "Ad Tag"
- Under section "Advanced Settings", enter the number of seconds into the field "Reload ad automatically after". The default value is blank, which means no refresh until visitors explicitly reload the web page
- Copy and paste the updated ad tag into your web page where the ad should display
Refresh Cap
To prevent the case when visitors leave their browsers idle and ads keep refreshing, you can set a maximum number of auto-refreshes. Once this limit is reached, auto-refresh will stop. For example: auto-refresh every 60 seconds and repeat up to up to 30 times. In this case, a new ad is displayed every minute for up to 30 minutes.Recommendation
Impressions will be recorded and tracked independently for each refresh. If you have a fast auto-refresh setting of a few seconds, this could result in a high total impression number in your account and a slow loading experience for your visitors since their browsers have to continuously load new ads. Therefore, we recommend to set it at least 40 seconds or longer.Considerations
If you serve third-party ads, please check with their Terms of Service to make sure auto-refresh is allowed. Certain third-party ad tags does not work well with auto-refresh and certain vendors have a specific requirement on refresh settings. For a more advanced usage, you can display a new ad upon a certain user activity by loading the ad request dynamically.Other Articles in Ad Tag
This section describes the ad tag (serving code) with basic and advanced settings. It includes common ad serving setup instructions and answers frequently asked questions when integrating the ad tag into your site, blog or app.
- Accelerated Mobile Pages Project - AMP Ad Tag
- How can I avoid document.write warning in Chrome?
- How can I avoid duplicate ads on the same page?
- How can I combine multiple ads in the same placement?
- How can I defer ads until after the page has finished loading?
- How can I display an ad only when it is visible on screen?
- How can I measure ad viewability?
- How can I mix ad dimensions or mix banners with text-link ads?
- How can I put ads into my blog/website?
- How can I serve multiple ad dimensions in the same place?
- How can I serve multiple zones with a single server request?
- How can I support click tracking for external ad servers?
- How can I turn off ad serving error messages?
- How do I add current timestamp into the serving code?
- How do I display mobile ads using Android WebView?
- How do I display mobile ads using Apple iOS WKWebView?
- How do I integrate AdSpeed mobile ad serving API?
- How do I make ads responsive on mobile devices?
- How do I pass custom data and variables into the ad?
- How do I set up advertising on WordPress?
- How do I setup a companion ad in video ad serving?
- How do I setup a passback ad tag?
- How do I switch to secure SSL/https ad serving?
- Should I use protocol-relative URLs in ad tags?
- What are custom ad serving settings and variables?
- What are different formats of serving code?
- What are different types of ad tag?
- What are the effects of ad blocking software?
- What is the pop-up and pop-under ad tag?
- What is the serving code or ad tag?
- What is WMODE for SWF ads? How can I change it?
- Where is the publisher-side file for iframe busting?
- Why doesn't the provided HTML serving code work?
Cannot find an answer for your question? Ask our Customer Care team
Related
- How accurate is ad tracking and reporting?
"Each impression, click and conversion is tracked via a unique link. Data is recorded immediately into our data warehouse and ..."
- What are different types of ad tag?
"There are 2 types of ad tag: for each Zone and for each ad. For a specific Zone This ad ..."
- Ad Tag and Serving Code
"Rotating Multiple Ads or Serving One Specific Ad You can choose between two types of rotation: rotate multiple ads within ..."
- Time Capping
"This is a special case of Frequency Capping when you don't want a visitor to see the same ad again ..."
- How can I defer ads until after the page has finished loading?
"Typically, content is loaded according to the components' order in the HTML source code. If you want visitors to see ..."