Skip to main content
All CollectionsAd Fraud ProtectionGetting Started
Getting started with the Spider AF Ad Fraud Protection - Onboarding
Getting started with the Spider AF Ad Fraud Protection - Onboarding

How to integrate the trial for Spider AF Ad Fraud Protection

Ronald Ng avatar
Written by Ronald Ng
Updated over 9 months 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 three primary options.

All options require integration with the Spider AF tracker, through either the simple Spider AF Javascript tag or the Spider AF redirector.

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 and click finish. The Block invalid IPs and Block invalid Placements are disabled during trial, but will be available once a user has subscribed to Spider AF.

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


  • Note:

    In the situation where an API connection could not be used, Google Ads can be integrated manually through the steps outlined here: https://help-center.spideraf.com/v2/en/articles/4298177-how-to-set-up-account-level-tracking-with-google-ads


Tracker

  • The tracker can be implemented directly to the webpages, or any tag management system like Google Tag Manager and Yahoo Tag Manager. Simply take the Spider AF tracker and copy it to the web property that is to be integrated with Spider AF.

    • Below is an example of the Spider AF 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', '[TRACKERID]', { // optional parameters: // campaign: '##campaign_id##' }); </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?