プラグインのインストール
WordPressのプラグインから「Ads.txt Manager」をインストール、Activateする。

Ads.txtの設定
プラグインをActivateすると、Ads.txtがSettingsの下に表示されるので、ここで、Ads.txtを作成する

AdSenseであれば、この文字列をAds.txtに入れ、保存し、終了。
*pub-0000000000000000の部分は、自分のPublisher ID
google.com, pub-0000000000000000, DIRECT, f08c47fec0942fa0
