Science

Does Google AdsBot see Javascript?

We assume that AdsBot detects Javascript content. To prove this, we used the Dynamic Ads feature of Google.

Introduction

We assume that AdsBot detects and uses content that was injected by Javascript. To prove this assumption, we set up an experiment using the Dynamic Ads feature of Google. When someone searches on Google with terms closely related to the titles and frequently used phrases on your website, AdWords will use these titles and phrases to select a landing page and generate a clear, relevant headline for your ad.

We set up three different landing pages, open only to human viewers and Google AdsBot. Two of those pages were generated with unique content injected by Javascript code. We created a fresh Google Ads account and let Google do its magic.

Now... If using the unique content as a search query keyword results in an ad plus the right landing page, we will prove that AdsBot sees Javascript.

Note: this experiment is still ongoing. Results will be available shortly.

Control experiment

This landing page contains a text about a fictional product, called the Penk Urbaneer sneakers. It is a pure HTML page, without any Javascript touching the code. We use it to determine the default behaviour of the Google AdsBot.

Landing page

urbaneer-screenshot

Results

Ad and keyword results will be available when the test will be completed.

Content injection

This landing page contains nothing in the HTML body. A text about a fictional product, called the Penk Trailblazer trail run shoes, is injected with Javascript. We use it to determine if the Google AdsBot indexes Javascript.

Landing page

trailblazer-screenshot

Result

Keywords and ad results will be available when the test will be completed.

Unless variation

This landing page contains nothing in the HTML body. A text about a fictional product, called the Penk Pointy high heeled sneaker, is injected into the page with Javascript, using an Unless variation. We use it to determine if the Google AdsBot indexes the Javascript of the Unless personalization service.

Landing page

pointy-screenshot

Results

Keywords and ad results will be available when the test will be completed.

The verdict

The verdict will be cast after the experiment has ended.

Frequently asked questions