AppLinkData.fetchDeferredAppLinkData" is giving "appLinkData" null value for install ads.
1

Hi, We are integrating Facebook Ads & App Links. AppLinks will be used to direct the use to Android mobile application.

We are calling.AppLinkData.fetchDeferredAppLinkData inside onCreate method of MainActivity, but always getting appLinkData value as null for install Ads.

Below are the steps to test the app link integration: Step 1: Create a new campaign with install ads having a new deferred deeplink targeting one of the screen in our application. Step 2: Login to facebook Application in Android device with the same developer account. Step 3: Share the ad link from AdManager console. This link will be used to opt for the ads in facebook timeline. Step 4: Scroll down into the timeline, install ad will be shown, click on install app. Step 5: Play store page will open, sideload the build to be tested. Step 6:Once install, play store page will change the button text from install to open. Click on open to launch the installed application.

Actual result: Deeplink is not getting received as part of AppLinkData.fetchDeferredAppLinkData call. appLinkData been always null for first time install. fetchDeferredAppLinkData API call makes internal call,which return a json object as "{ "success":true}", without having deferred deeplink URL.

Expected result: AppLinkData.fetchDeferredAppLinkData call. should return non null appLinkData value, which will contain the targetedURL.

Note: We are getting proper response for engagement ads.

I have gone through existing similar issue, which is not having any conclusion. https://developers.facebook.com/support/bugs/4327041570687535/

AstroGo
Asked about 8 months ago