> ## Documentation Index
> Fetch the complete documentation index at: https://docs.topsort.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Invalid Traffic Prevention

> How to prevent and manage invalid traffic in your marketplace

export const LastUpdated = ({date, lang = "en"}) => {
  const translations = {
    en: "Last updated:",
    es: "Última actualización:",
    pt: "Última atualização:",
    fr: "Dernière mise à jour:",
    de: "Zuletzt aktualisiert:"
  };
  const label = translations[lang] || translations.en;
  return <>
<style>{`
.last-updated-component {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border-radius: 8px;
margin-top: 12px;
margin-bottom: 16px;
font-size: 14px;
background-color: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.12);
color: rgba(0, 0, 0, 0.75);
line-height: 1;
}

        .last-updated-component svg {
          flex-shrink: 0;
          vertical-align: middle;
        }

        .last-updated-component span {
          display: inline-flex !important;
          align-items: center !important;
          line-height: 1 !important;
        }

        [data-theme="dark"] .last-updated-component {
          background-color: #3a3a3a;
          border: 2px solid #888888;
          color: #ffffff;
        }

        [data-theme="dark"] .last-updated-component svg {
          stroke: #ffffff;
        }
      `}</style>
      <div className="last-updated-component">
        <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
          <circle cx="12" cy="12" r="10" />
          <polyline points="12 6 12 12 16 14" />
        </svg>
        <span>
          <strong style={{
    fontWeight: 600
  }}>{label}</strong> 
          <time dateTime={date}>{date}</time>
        </span>
      </div>
    </>;
};

## Overview

<Note>
  Topsort reports all events as received from your marketplace. Marketplaces are
  responsible for implementing traffic quality controls before sending events to
  Topsort.
</Note>

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  Invalid traffic—whether from bots, fraudulent clicks, or non-human activity—can impact campaign performance and advertiser trust. This guide covers best practices for preventing and monitoring invalid traffic.
</div>

## What is Invalid Traffic?

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  **General Invalid Traffic (GIVT)** - easier to detect:
</div>

* Known bots and crawlers
* Data center traffic
* Non-human activity patterns

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  **Sophisticated Invalid Traffic (SIVT)** - requires advanced detection:
</div>

* Bot networks
* Hijacked devices
* Proxy/VPN traffic
* Malware and adware
* Cookie stuffing

## Prevention Best Practices

### Before Sending Events to Topsort

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  Implement these controls in your marketplace:
</div>

**Traffic Source Controls**

* Vet publishers before allowing ad serving
* Monitor performance by traffic source
* Set minimum quality thresholds

**Security Measures**

* Require HTTPS for all ad serving
* Implement ads.txt to prevent unauthorized inventory
* Use rate limiting to prevent automated activity

**Filtering**

* Filter known bad IP addresses
* Remove duplicate events within short timeframes
* Validate user agents and referrers
* Require JavaScript execution for tracking

## Monitoring for Invalid Traffic

### Key Metrics

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  Watch for these warning signs:
</div>

* **CTR above 5%** (typical retail media: 0.5-2%)
* **Sudden traffic spikes** without explanation
* **Unusual conversion patterns** (too fast or too slow)
* **Geographic anomalies** from unexpected locations

### Using Topsort's Reporting API

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  Use the [Reporting API](https://api.docs.topsort.com/api-reference/reporting-api/get-marketplace-interactions-report) to analyze traffic patterns and identify anomalies in your data.
</div>

## If You Detect Invalid Traffic

1. Pause suspicious traffic sources immediately
2. Analyze the pattern to understand the issue
3. Contact Topsort support if adjustments are needed for affected campaigns
4. Implement filters to prevent similar traffic

## Frequently Asked Questions

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  **Does Topsort filter invalid traffic automatically?**
  No. Topsort reports all events as received. Marketplaces must implement their own traffic quality controls.
</div>

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  **Can I exclude events from being sent to Topsort?**
  Yes. Filter suspicious events before calling the `/events` API endpoint.
</div>

<div style={{textAlign: 'justify', marginBottom: '1.5rem'}}>
  **What CTR should I consider suspicious?**
  CTRs consistently above 5% warrant investigation. Typical retail media CTRs range from 0.5% to 2%.
</div>

***

<LastUpdated date="2025-12-15" />
