upload the code that adsense gives you for the .txt file. They give you the code on the adsense page, it’s how they verify the account. You can’t place it in a template as that doesn’t work it has to be in the root section of the server:

The code that they give you for a specific ad goes in the advertisements sectiom