Browser/proxy server caching - Campaign Manager 360 Help (2024)

Use cache busting to ensure that impressions are counted each time your ad servers. Cache busting typically involves adding a random number generator (RNG) to your ad tags, also known as a cache buster.

This process is the same for all ads on all devices, including mobile and non-mobile inventory.

How does cache busting work?

Browsers get site content and ad content from servers. Webpages have code that instructs browsers to "call" servers to request this content, including images and videos. When your browsers cache content, they store it on the user's computer (or a proxy server) for later use. Once content is cached, the browser no longer has to request it from servers. This speeds up load times.

The trouble is, Campaign Manager 360records impressions on your ads based on content requests. If a browser caches ad content for a particular ad, it will not need to request the ad content when your ad tag fires. Without a request, Campaign Manager 360cannot log an impression.

Cache busting is a way to prevent browsers from caching your ad content. Cache busting adds a random string to your ad tag each time the tag fires — typically a random number. Because the tag has a different number each time, the browser sends a new request each time. The browser can't tell that it has already cached content associated with your tag because the tag has a different random number each time it fires.

Generally, tags use random number generation (RNG) to dynamically add a random number to your tag each time it fires. This number is a value for the ord= attribute.

Add cache busters to tags

See below for steps.

Cache busting for Ad Manager

If your publisher uses Ad Manager, insert the %n macro after ord= in your tags. E.g., ord=%n. If there is already an ord value, replace it with %n.

In order for the landing pageand the image to work correctly, you must place the variable as the value of the ord= key in both the <HREF>and the <IMG SRC> tags.

Only Ad Manager knows to expand %n into a random number, so do not use this RNG unless your publisher uses Ad Manager.

About RNGs

As discussed above, an RNG inserts a random number into your ad tag each time it fires. If the tag is different each time (because it has a different random number), the browser sends a new ad request each time the tag fires. This ensures that impressions are logged each time your ad appears, and that the browser does not use its caached content.

An RNG is best implemented with a macro that the publisher's system automatically expands into a random or different value each time the tag fires.

Cache busting for non-Ad Manager

If your publisher doesn't use Ad Manageras its adserving solution, you should still add a cache buster, such as a timestamp variable or a random number generated by an RNG that the system recognizes.

Sample RNGs

For DART Enterprise, RealMedia, or Adforce, the publisher can replace the [timestamp] component of the tags with these variables:

Ad serving solution Timestamp variable
DART Enterprise $gmt$
RealMedia %GMTTIME%
_GMTTIME_
_QUERY_
%%GMTTIME%%
Adforce _ADFORCE_TIME_

These variables are guidelines only. Please verify the timestamp for your ad serving solution with your contact at the respective company, as these variables vary according to the third-party ad server version.

What happens if I don't use RNGs or other cache busters to defeat caching?

Once a browser or proxy server receives a creative asset from Campaign Manager 360, it stores it in the browser cache. The browser draws any additional calls for the asset from the cache, rather than from the Campaign Manager 360ad servers. Campaign Manager 360therefore doesn't record additional impressions, which causes discrepancies.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Contact us Tell us more and we’ll help you get there

2024 Privacy Readiness guide

Prepare for a world without third-party cookies and unlock the AI
opportunity by adopting a durable measurement setup.
Start Today

Browser/proxy server caching - Campaign Manager 360 Help (2024)
Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 5604

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.