Facebook

The following presents a guideline on how Facebook standard and rich media tags should be edited to count clicks in Google Ad Manager. In order to track clicks follow the procedure below:

IFRAME Code (Instant Articles)

Original Code

You should have received some IFRAME code from Facebook that looks similar to the following example:

<figure class="op-ad">
<iframe width="300" height="250" style="border:0; margin:0;" src="https://www.facebook.com/adnw_request?placement=2255455548851116_9548258297582525&adtype=banner300x250"></iframe>
</figure>

Modified Code

Facebook do not currently provide a click macro to record clicks in Google Ad Manager, traffic the provided code as you would a standard campaign.

<figure class="op-ad">
<iframe width="300" height="250" style="border:0; margin:0;" src="https://www.facebook.com/adnw_request?placement=2255455548851116_9548258297582525&adtype=banner300x250"></iframe>
</figure>

Note

The ad server recognises the [timestamp] placeholder and will automatically replace it with a cache buster. It is not necessary to convert it to the %%CACHEBUSTER%% macro manually.

Use %%CLICK_URL_UNESC%% at the beginning of a link. Use %%CLICK_URL_ESC%% when the click-tracker is the parameter of another URL.

<a href="%%CLICK_URL_UNESC%%https://www.google.com">link</a>
<a href="https://www.google.com?rd_url=%%CLICK_URL_ESC%%">link</a>