Skip to main content

Getting started with the Spider AF Ad Fraud Protection - Onboarding

How to integrate the trial for Spider AF Ad Fraud Protection

Written by Itzayana Rodríguez
Updated over 2 weeks ago

Thank you for signing up for Spider AF.

If you signed up through spideraf.com/sign-up, follow the steps below. If you no longer have access to the onboarding screens seen below, go here for more instructions within the dashboard: https://help.spideraf.com/en/articles/8795158-how-to-start-spider-af-free-trial

To onboard with the Ad Fraud product, there are two primary setup options available.

Regardless of the option you choose, integration with the Spider AF Tracker is required. This can be done by either:

  • Installing the Spider AF JavaScript tag directly on your website, or

  • Integrating the tag via Google Tag Manager (GTM).

In the onboarding page you can choose to integrate the tracker and or Google Ads through an API connection. It is recommended to integrate both. Step by step instructions for each are below.


Google Ads

Spider AF can quickly handle all the integration points on Google Ads through an API connection.

After selecting the Google Ads & Tracker path, a user can proceed to connect the API by simply clicking the Connect a Google Ads Account button.

  • When prompted by Google’s account selection, select the Google account that is associated with the ad account that is to be connected to Spider AF. Spider AF requires a read and write access in order to apply the necessary settings and IP/Placement/Audience blocking settings to the account.

  • Allow the API access.

  • Select the account you want to integrate, then click 'Proceed'.

    The Spider AF tracking template is required for Spider AF to get an accurate understanding of where the traffic is sourced from and if the traffic was paid for.


Tracker

The Spider AF tracker can be implemented directly on your website pages or through a tag management system such as Google Tag Manager (GTM) or Yahoo Tag Manager.

To install it, simply copy the Spider AF tracker tag and paste it into the web property you want to integrate with Spider AF.

Below is an example of the Spider AF tracker tag

  • <script>
    var sptrk=function(){var o="https://sp-trk.com/",t="__spd",e=(new Date).getTime();window[t]||(window[t]={init:!1});var c=window[t];c.d||(c.d=[]);var s=c.d;function v(t){var i=document.createElement("script");i.async=!0,i.src=t,document.head.appendChild(i)}c.init||v(o+"u");var u=/^([a-z0-9]{8})-([a-z0-9]{2})$/;return function(){var t=arguments;if(s.push(t),"config"==t[0]&&!c.init&&!c.a){c.init=!0;var i=t[1],n=i.match(u),a=n[1],r=n[2];if(!a||!r)throw"invalid id: "+i;var d=Math.random().toString(36).substring(2,15);v(o+"t/"+a+"?"+("a="+e+"&o="+d))}}}();

    sptrk('config', 'TRACKER ID', {
    // optional parameters:
    // segment: '##segment##'
    });
    </script>

The tag can be configured with additional parameters that will allow Spider AF better understand where traffic is being measured. The following fields that can be added are below.

  • pub (publisher_id)

  • media (media_id)

  • site (site_id)

  • spot (spot_id/sub_site_id)

  • segment(segment_id)

  • xuid (cookie/user id)

  • xsid (session id)

    Once data is measured by the tracker and the Google Ads account is confirmed to be setup, onboarding is complete and the user can proceed to the Dashboard.

Did this answer your question?