> This page is for Advertising Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.humansecurity.com/llms.txt.

# Integrate Malvertising Defense & Ad Quality Protection for Publishers

If you're an advertising publisher, you can learn how to integrate the HUMAN Malvertising Defense script with your website with this article.

> **Note**
>
> You should have received your unique script from the HUMAN team. If you haven't, be sure to contact us for help.

#### Insert the script

Insert the unique instance of the HUMAN script to your website source code. You should place the script after the `<head>` tag and before any advertising or DFP ad serve code (synchoronously) as shown in the example below.

> **Warning**
>
> To ensure maximum effectiveness, do not reference or identify HUMAN in any way within the HTML.

**`Example script (DO NOT USE)`**

```js title="Example script (DO NOT USE)"
<script type="text/javascript" src="//HUMAN.domain/{CLIENT-ID}/script.js"></script>
```

**`Example placement`**

```html title="Example placement" {17}
<!DOCTYPE html>
<html lang="en-US">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="pinterest-rich-pin" content="false" />
    <link rel="profile" href="http://gmpg.org/xfn/11">

    <link rel="dns-prefetch" href="//graph.facebook.com">
    <link rel="dns-prefetch" href="//ib.adnxs.com">
    <link rel="dns-prefetch" href="//c2shb.ssp.yahoo.com">
    <link rel="dns-prefetch" href="//htlb.casalemedia.com">

    ...

    <script type="text/javascript" src="//HUMAN.domain/1234567890/script.js"></script>
</html>
```

#### Validate with HUMAN

After you finish adding the HUMAN script and complete your own testing, provide a test page or staging environment with the HUMAN code to your HUMAN account team to validate the integration.

#### Roll out across your live domains

Once HUMAN approves your integration, we'll confirm that you can begin a phased rollout across your live domain(s). Once that's complete, HUMAN will do another full audit of our script in your live environment to ensure proper performance.