App Events

Android In-App Subscriptions and Purchase Verification

Updated: Jun 30, 2026
Copy for LLM
You can now automatically log in-app subscriptions and verify purchases using a Google Play Service Account.
With this feature, you can:
  • Automatically log subscription information fetched from Google Play
  • Verify the legitimacy of every purchase made within your app by validating purchase receipts with Google Play
This helps ensure that the purchase data you see in Facebook Analytics or use to measure, target, or optimize your ad campaigns on Facebook is accurate and not distorted by fraudulent purchases.

Requirements

Add Credentials

1. Go to your app in the Facebook App Dashboard and select Settings > Basic in the left side panel.
2. Scroll down to the Android Platform card and toggle the Log In-App Purchaess Automatically to Yes if you have not already.
Android Platform card with Log In-App Purchases Automatically toggled on and Log In-App Subscriptions Automatically toggled off

3. Toggle Log In-App Subscriptions Automatically to Yes to upload the JSON credentials file you downloaded to your local machine from the Google API Console.
Upload Google Play credentials dialog with a drag-and-drop area to upload the JSON credentials file

4. Once the file has been uploaded, click Save and the toggle shows Yes.
Both purchase and subscription logging toggles set to Yes, showing the uploaded JSON filename and an Update link

Update Verification Credentials

To change the verification credentials, click the Update link in the Google Play Credentials section of the Android Platform card. You are asked to upload the new file. Click Save to update the file.