---
title: How to Add MGID Ads.txt Lines to a WordPress Website
description: "Obtain the MGID Ads.txt Lines Install Ads.txt Manager Plugin Add MGID Ads.txt Lines Verify Ads.txt File There are a few options to get the Ads.txt lines: To add MGID Ads.txt lines to your WordPress we"
---

[Skip to content](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website#main-content)

- [English](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website)
- [Bahasa Indonesia](https://help.mgid.com/id/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website)
- [Español](https://help.mgid.com/es/cómo-agregar-líneas-del-ads.txt-de-mgid-a-un-sitio-web-de-wordpress)
- [Français](https://help.mgid.com/fr/comment-ajouter-les-lignes-ads.txt-de-mgid-à-un-site-wordpress)
- [Italiano](https://help.mgid.com/it/come-aggiungere-righe-mgid-ads.txt-a-un-sito-web-wordpress)
- [Polski](https://help.mgid.com/pl/jak-dodać-linie-mgid-ads.txt-do-witryny-wordpress)
- [Português - Brasil](https://help.mgid.com/pt-br/como-adicionar-as-linhas-mgid-ads.txt-a-um-site-wordpress)
- [Tiếng Việt](https://help.mgid.com/vi/cách-thêm-mgid-ads.txt-lines-vào-website-wordpress)
- [Українська](https://help.mgid.com/uk/як-додати-рядки-mgid-ads.txt-на-сайт-wordpress)
- [ไทย](https://help.mgid.com/th/วิธีเพิ่มบรรทัด-mgid-ads.txt-ลงในเว็บไซต์-wordpress)

English

Show submenu for translations

![MGID\_Logo\_Help\_Center\_W\_R\_Swoosh.svg\]](https://help.mgid.com/hubfs/MGID_Logo_Help_Center_W_R_Swoosh.svg)

- [Advertisers](https://www.mgid.com/advertisers)
- [Publishers](https://www.mgid.com/publishers)
- [Contact Us](https://www.mgid.com/about#tabs-contactus)

Open main navigation

Close main navigation

- [Advertisers](https://www.mgid.com/advertisers)
- [Publishers](https://www.mgid.com/publishers)
- [Contact Us](https://www.mgid.com/about#tabs-contactus)
- - [English](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website)
    - [Bahasa Indonesia](https://help.mgid.com/id/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website)
    - [Español](https://help.mgid.com/es/cómo-agregar-líneas-del-ads.txt-de-mgid-a-un-sitio-web-de-wordpress)
    - [Français](https://help.mgid.com/fr/comment-ajouter-les-lignes-ads.txt-de-mgid-à-un-site-wordpress)
    - [Italiano](https://help.mgid.com/it/come-aggiungere-righe-mgid-ads.txt-a-un-sito-web-wordpress)
    - [Polski](https://help.mgid.com/pl/jak-dodać-linie-mgid-ads.txt-do-witryny-wordpress)
    - [Português - Brasil](https://help.mgid.com/pt-br/como-adicionar-as-linhas-mgid-ads.txt-a-um-site-wordpress)
    - [Tiếng Việt](https://help.mgid.com/vi/cách-thêm-mgid-ads.txt-lines-vào-website-wordpress)
    - [Українська](https://help.mgid.com/uk/як-додати-рядки-mgid-ads.txt-на-сайт-wordpress)
    - [ไทย](https://help.mgid.com/th/วิธีเพิ่มบรรทัด-mgid-ads.txt-ลงในเว็บไซต์-wordpress)

  English
  
  Show submenu for translations
- Contact us

 Contact us

 Welcome to MGID! How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center Home](https://help.mgid.com/?hsLang=en)
2. [Publishers](https://help.mgid.com/publishers?hsLang=en)
3. [Types of integration](https://help.mgid.com/publishers?hsLang=en#types-of-integration)

# How to Add MGID Ads.txt Lines to a WordPress Website

[Obtain the MGID Ads.txt Lines](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website#obtain_txt_lines)

[Install Ads.txt Manager Plugin](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website#install_txt_lines)

[Add MGID Ads.txt Lines](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website#add_txt_lines)

[Verify Ads.txt File](https://help.mgid.com/how-to-add-mgid-ads.txt-lines-to-a-wordpress-website#verify_txt_lines)

---

### Obtain the MGID Ads.txt Lines

There are a few options to get the Ads.txt lines:

- Generate it via the MGID dashboard
- Ask your Success Manager for assistance
- Request it via email communication with MGID

### Install Ads.txt Manager Plugin

To add MGID Ads.txt lines to your WordPress website, we recommend using a free plugin that simplifies the process. Follow these steps to complete the setup in just a few minutes.

1. Navigate and log in to your WordPress website.
2. Find the Plugins section and click Add New.
3. Type “Ads.txt” in the “Search Plugins” field to search the Ads.txt Manager plugin with a green icon.
4. Download and Install the plugin.

![Ads\_txt\_1](https://help.mgid.com/hs-fs/hubfs/1.%20Help%20Center%20(website)/Publishers/Ads_txt_lines/Ads_txt_1.png?width=688&height=320&name=Ads_txt_1.png)

5.  Activate the plugin once it has been installed.

### Add MGID Ads.txt Lines

1. In the WordPress dashboard, navigate to the Settings section, find and click the Ads.txt. tab.

![Ads\_txt\_2](https://help.mgid.com/hs-fs/hubfs/1.%20Help%20Center%20(website)/Publishers/Ads_txt_lines/Ads_txt_2.png?width=688&height=267&name=Ads_txt_2.png)

2\. Copy and paste the provided Ads.txt lines into the text field in the Ads.txt settings tab.

![Ads\_txt\_3](https://help.mgid.com/hs-fs/hubfs/1.%20Help%20Center%20(website)/Publishers/Ads_txt_lines/Ads_txt_3.png?width=688&height=376&name=Ads_txt_3.png)

3\. Click Save Changes.

### Verify Ads.txt File

The Ads.txt lines you added will appear under the URL: 

```
your-domain-name.com/ads.txt.
```

If you encounter a warning stating “Existing Ads.txt file found,” follow these steps to resolve the issue:

- Identify any plugins used for ads integration (e.g., [Ad Inserter](https://wordpress.org/plugins/ad-inserter/)).
- Navigate to the plugin settings.
- Locate the Ads.txt option within the plugin settings.
- Paste the MGID Ads.txt lines there.

By following these instructions, you should be able to add MGID Ads.txt lines to your WordPress website successfully. If you have any further questions or issues, please refer to the MGID manager.

- [Advertisers](https://help.mgid.com/advertisers?hsLang=en#main-content)

    - [Get started with MGID Ads](https://help.mgid.com/advertisers?hsLang=en#get-started-with-mgid-ads)
    - [Campaign Setup & Management](https://help.mgid.com/advertisers?hsLang=en#campaign-setup-management)
    - [CPA Tune](https://help.mgid.com/advertisers?hsLang=en#cpa-tune)
    - [Conversion tracking: general](https://help.mgid.com/advertisers?hsLang=en#conversion-tracking-general)
    - [Tracking with MGID Pixel](https://help.mgid.com/advertisers?hsLang=en#tracking-with-mgid-pixel)
    - [Postback & Trackers](https://help.mgid.com/advertisers?hsLang=en#postback-trackers)
    - [Affiliate Networks Integration](https://help.mgid.com/advertisers?hsLang=en#affiliate-networks-integration)
    - [Webhook tracking method & Integrations](https://help.mgid.com/advertisers?hsLang=en#webhook-tracking-method-integrations)
    - [Native integrations](https://help.mgid.com/advertisers?hsLang=en#native-integrations)
    - [Ad Creatives Management](https://help.mgid.com/advertisers?hsLang=en#ad-creatives-management)
    - [Campaign Optimization & Performance](https://help.mgid.com/advertisers?hsLang=en#campaign-optimization-performance)
    - [FAQ](https://help.mgid.com/advertisers?hsLang=en#faq)
    - [MGID Video Guides](https://help.mgid.com/advertisers?hsLang=en#mgid-video-guides)
- [Publishers](https://help.mgid.com/publishers?hsLang=en#main-content)

    - [General](https://help.mgid.com/publishers?hsLang=en#general)
    - [Prohibited content and practices](https://help.mgid.com/publishers?hsLang=en#prohibited-content-and-practices)
    - [Types of integration](https://help.mgid.com/publishers?hsLang=en#types-of-integration)
    - [Compliance](https://help.mgid.com/publishers?hsLang=en#compliance)
    - [Payment](https://help.mgid.com/publishers?hsLang=en#payment)
    - [FAQ](https://help.mgid.com/publishers?hsLang=en#faq)
- [Ad Quality Policies and Creative Guidelines](https://help.mgid.com/ad-quality-policies-and-creative-guidelines?hsLang=en#main-content)

    - [Ad Approval & Compliance Guidelines](https://help.mgid.com/ad-quality-policies-and-creative-guidelines?hsLang=en#ad-approval-compliance-guidelines)
    - [Creative AI Hub](https://help.mgid.com/ad-quality-policies-and-creative-guidelines?hsLang=en#creative-ai-hub)
    - [Creative Hub](https://help.mgid.com/ad-quality-policies-and-creative-guidelines?hsLang=en#creative-hub)
    - [Compliance & Security](https://help.mgid.com/ad-quality-policies-and-creative-guidelines?hsLang=en#compliance-security)
- [Advertisers Super Client Account](https://help.mgid.com/advertisers-super-client-account?hsLang=en#main-content)

    - [Clients](https://help.mgid.com/advertisers-super-client-account?hsLang=en#clients)
- [Fraud Prevention](https://help.mgid.com/fraud-prevention?hsLang=en#main-content)

    - [Fraud Prevention](https://help.mgid.com/fraud-prevention?hsLang=en#fraud-prevention)
- [API](https://help.mgid.com/api?hsLang=en)
- [DSP](https://help.mgid.com/dsp?hsLang=en)
- [SSP](https://help.mgid.com/ssp?hsLang=en)

- [Advertisers](https://www.mgid.com/advertisers)
- [Publishers](https://www.mgid.com/publishers)
- [Contact Us](https://www.mgid.com/about#tabs-contactus)

[![Chill listening crop-3](https://help.mgid.com/hubfs/MGID_Logo_Icon_HC.svg "Chill listening crop-3")](https://www.mgid.com)

Native performance through innovation

<https://facebook.com/mgidglobal/> <https://twitter.com/mgid/> <https://www.linkedin.com/company/mgid-inc->

Copyright © 2026, MGID Inc.