Error(s) found while validating app-ads.txt

Follow the guide below. The important part is that Facebook will look for [URL]/app-ads.txt where [URL] is the developer’s website on the developer’s Play Store page, and not on the app page.

Adding the platform on FB

Introduction

Many of you when adding a new platform on Facebook for developers saw the following message.

8

In a nutshell, Facebook requires you to confirm that the application indeed belongs to you. From now on this will have to be done for every application added on Facebook. This means that you are required to do that in order to be able to launch a test. There is only one way to comply with it - mention that app ID in the required format at your app-ads.txt

Adding Facebook with App IDs

Every app developer should have a website registered. This is the website that gets listed on the developer’s store page. Example: https://www.homagames.com/

Untitled-3

💡 Facebook only looks at the website on the developer’s page, and do not fetch the “developer’s website” on the app’s store page.

In order to let Facebook know that the app with the following id indeed belongs to you: you need to mention that id in app-ads.txt file. This file has to be uploaded to the root of your website domain, for example, https://www.homagames.com/app-ads.txt 

To add Facebook to your app-ads.txt with app IDs, copy and paste the following string to each of your applications. (Note: You must also update the app ID for each string.)

facebook.com, app ID, RESELLER, c3e20eee3f780d68

The following is an example.

[...]
facebook.com, 350685531728, RESELLER, c3e20eee3f780d68
facebook.com, 350685531729, RESELLER, c3e20eee3f780d68
facebook.com, 350685531730, RESELLER, c3e20eee3f780d68[...]

You should update that file adding new app id for each new application registered at the Facebook platform.

Loophole

If you don’t have a website registered or don’t want to list it on your store page - you can use one of the services created specifically for such purposes.

For instance https://app-adstxt.dev/.

1-Oct-13-2022-09-09-24-36-AM

 

After the registration, you will be able to enter the same lines as mentioned above. The only difference is that the app-ads.txt won’t be listed on your studio website but hosted by that one.

You have to then use it on your google console and equally update adding each new application id.

2-Oct-13-2022-09-10-47-73-AM

In both cases, the result will be the same:

3-Oct-13-2022-09-11-05-76-AM