If your Ad Exchange tag isn't rendering correctly on your website or showing blank ads, you can create a test page to identify the problem. With a test page, you can verify that the creative renders properly independent of other code or whether there's an issue with the domain (if a tag is serving on clientpageA.com, but not clientpageB.com).
The steps described may vary depending on your particular environment. If you have questions about how to complete this process, contact your web development or technical team.
Create a test page
- Open a plain-text editor, such as Notepad, and place the following code in a blank file:
- Copy and paste your Ad Exchange code into your text editor in between the
- Add the
google_adtest = on;parameter to your ad tag to specify that this is a test implementation. Make sure you set this parameter to "on" to ensure that clicks and impressions aren't recorded and advertisers aren't charged. The default value is "off".
- Save the code as an HTML file.
- Upload the HTML file to the web server that hosts your web content. This step is largely dependent on your web host configuration, so your web developer or IT team should be able to help you if you have questions about how to complete it. Alternatively, if you cannot upload the page to a web server, you can save it locally.
- Using multiple web browsers, such as Chrome or Firefox, and operating systems, visit the URL or file location for your test page and ensure that the ad tag functions.
If you use Network Partner Management, the URL you are testing should be classified as "Owned" or "Represented" in your Domain Management section, otherwise your ad requests will be rejected.