Night mode

Is your Google Adsense displaying a nagging alert? Are you scared that your account may be hacked? Are you in doubts on what to do? Stay calm and read this article which will reveal the Easy fix for Earnings at risk on Google AdSense Account

What is Google Adsense

Google AdSense is a program run by Google through which website publishers in the Google Network of content sites serve text, images, video, or interactive media advertisements that are targeted to the site content and audience. These advertisements are administered, sorted, and maintained by Google. Wikipedia

If you are new to adsense, then earliar this month you should be seeing this alert on your adsense dashboard

Earnings at risk – One or more of your ads.txt files doesn’t contain your AdSense publisher ID. Fix this now to avoid severe impact to your revenue.

What is Ads.txt

Authorized Digital Sellers, or ads.txt is an IAB initiative that helps ensure that your digital ad inventory is only sold through sellers (such as AdSense) who you’ve identified as authorized. Creating your own ads.txt file gives you more control over who’s allowed to sell ads on your site and helps prevent counterfeit inventory from being presented to advertisers. Read more here

We strongly recommend that you use an ads.txt file. It can help buyers identify counterfeit inventory and help you receive more advertiser spend that might have otherwise gone toward that counterfeit inventory.

Note: These instructions describe how to create an ads.txt file for Google publishers. Non-Google publishers should contact their SSP or exchanges.

Create your own ads.txt file for AdSense

Here’s how to create an ads.txt file to publicly declare that Google is authorized to sell your ad inventory:

  1. Create a text (.txt) file.
  2. Include the following line:google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0Important: Make sure you replace pub-0000000000000000 with your own publisher ID.
  3. Host your ads.txt file at the root level of your domain. (for example, https://example.com/ads.txt).Root levels are one level down from what’s listed in the public suffix list. For example, “google.co.uk” is a root domain of “co.uk” but “maps.google.co.uk” is not. See the IAB ads.txt specification.

What information goes in an ads.txt file?

Create a text file named ads.txt and include separate lines for each exchange or SSP that is authorized to sell your inventory. Each of these lines should contain three pieces of data (plus a fourth optional field), in the format:

<Field #1>, <Field #2>, <Field #3>, <Field #4>

  • <Field #1>: The canonical domain name of the system where bidders connect. This may be the operational domain of the system, if it’s different than the parent corporate domain, to facilitate WHOIS and reverse IP lookups to establish clear ownership. The SSP or exchange may publish the domain name to use.For Google seller accounts, the domain name is always google.com.
  • <Field #2>: The publisher identifier associated with the seller or reseller account for the system in field #1. This must contain the same value as that specified in an SSP or exchange transaction (such as OpenRTB bid requests). Typically, in OpenRTB, this is the publisher.id field. For OpenDirect, it is typically the publisher’s organization ID. For Google seller accounts, use the publisher ID displayed in each account (for example, pub-0000000000000000). To find this ID:Only include the pub- prefix and the 16-digit numeric code in your declaration. Delete the product-specific prefix (for example, ca- or ca-video-). If you monetize through multiple Ad Manager and/or AdSense accounts, you must include a separate row for each account, with its corresponding pub- code.Domains hosting an ads.txt file where the seller’s publisher ID isn’t listed are no longer monetized through Ad Manager, and Google no longer buys ads on such sites. Updating your ads.txt files to include publisher IDs for each site you want to monetize is recommended (learn how to update ads.txt in Ad Manager). If you use Scaled Partner Management, we recommend working with your child partners to include your publisher ID in their ads.txt files.
  • <Field #3>: The type of account or relationship. This field should be treated as case-insensitive when interpreting the data.
    • A value of ‘DIRECT‘ indicates that the publisher (content owner) directly controls the account indicated in field #2 and has a direct business contract between the publisher and the advertising system.Google publishers who directly control the account indicated in field #2 should specify 'DIRECT'.
    • A value of ‘RESELLER‘ indicates that the publisher has authorized another entity to control the account indicated in field #2 and resell their ad space via the system in field #1.Google publishers who don’t directly control the account indicated in field #2 should specify 'RESELLER'. For example, an Ad Manager account using Scaled Partner Management should specify 'RESELLER' for inventory the account doesn’t directly manage.
  • <Field #4>: (Optional): A unique identifier for the advertising system within a certification authority, which maps to the entity listed in field #1. One certification authority is the Trustworthy Accountability Group (TAG), and the TAG ID would be included here.For Google seller accounts, the TAG ID is f08c47fec0942fa0.

Checkout these related articles below