facebookarchive / react-native-fbsdk

A React Native wrapper around the Facebook SDKs for Android and iOS. Provides access to Facebook login, sharing, graph requests, app events etc.
https://developers.facebook.com/docs/react-native
Other
2.99k stars 908 forks source link

Urgent - App Events not being registered for Ads? Ad + Developer support has no idea what is wrong #681

Closed dgobaud closed 4 years ago

dgobaud commented 4 years ago

@ fernandomtp and I are struggling with Facebook support being sent back and forth between Ads and Developer support for around a month each claiming this is not their problem.

please does anyone know?

There are 2 problems:

  1. When we try to create a Conversion ad that uses App events it says "We haven't received any standard app events from your app." see attached 1.png

In the Event Manager you can see it CONFIRMS that Standard Events including Submit Application are received - see 2.png

  1. We cannot create a Custom Conversion based on our custom event USER_MADE_DEPOSIT. See attached 3.png that shows when creating a Custom Conversion the app does not show up as a Data Source even though it is added which you can see in 4.png.

In 5.png you can see confirmed USER_MADE_DEPOSIT events are happening.

1 2 3 4 5 2019-11-27 - FB Ad Support 2019-11-28 - FB Dev Support 2019-11-29 - FB Ad Support 2019-12-01 - FB Dev Support
OldRustyDijkstra commented 4 years ago

Did you managed to resolve this @dgobaud ?

I'm finding myself in the same predicament as you.

dgobaud commented 4 years ago

yes it is an absolute nightmare horrible documentation and no support but below are the events that work.....

type FacebookStandardEvent = | 'fb_mobile_tutorial_completion' | 'fb_mobile_level_achieved' | 'fb_mobile_add_payment_info' | 'fb_mobile_achievement_unlocked' | 'fb_mobile_purchase' | 'fb_mobile_add_to_cart' | 'fb_mobile_complete_registration';

dgobaud commented 4 years ago

a lot of other stuff like custom events/conversions also seem broken or the docs are wrong I don't know how it all runs at all they don't seem to care

AntonyJBlackett commented 4 years ago

I've just run into this as well. I came across this page: https://stackoverflow.com/questions/23109030/minimum-installations-for-using-cpa-in-mbile-app-install-ads

I think there is fraud protection that means you cannot setup an install or event campaign until your app has logged some threshold of those events. Otherwise you could spam install campaigns for an app that never logs those events and get a small amount of free advertising each time.

I've setup a basic impressions campaign for my app to see if I can eventually enable an install campaign once i have a few users. I'll try and remember to let you know if that works.

OldRustyDijkstra commented 4 years ago

yes it is an absolute nightmare horrible documentation and no support but below are the events that work.....

type FacebookStandardEvent = | 'fb_mobile_tutorial_completion' | 'fb_mobile_level_achieved' | 'fb_mobile_add_payment_info' | 'fb_mobile_achievement_unlocked' | 'fb_mobile_purchase' | 'fb_mobile_add_to_cart' | 'fb_mobile_complete_registration';

Totally agreed, really appalling documentation.
I will try the fb_mobile_complete_registration events out, see if it'll work. Thanks for your response @dgobaud .

I'm assuming you submitting them just like your custom events?

chrisedington commented 4 years ago

@OldRustyDijkstra did you have any luck using fb_mobile_complete_registration ?

Mine comes through in the debugger like this, but doesn't show in the "Events" section on FB.

Screenshot 2020-08-15 at 14 02 15
dooleyb1 commented 3 years ago

@chrisedington any luck on your side? Also trying to log fb_mobile_complete_registration to represent the Standard Event for Complete Registration. I've tried this doing both of the following, neither of which seem to be appearing in the Event Manager console for this Standard Event:

AppEventsLogger.logEvent("EVENT_NAME_COMPLETED_REGISTRATION", {});
AppEventsLogger.logEvent("fb_mobile_complete_registration", {});
sneha220991 commented 3 years ago

yes it is an absolute nightmare horrible documentation and no support but below are the events that work.....

type FacebookStandardEvent = | 'fb_mobile_tutorial_completion' | 'fb_mobile_level_achieved' | 'fb_mobile_add_payment_info' | 'fb_mobile_achievement_unlocked' | 'fb_mobile_purchase' | 'fb_mobile_add_to_cart' | 'fb_mobile_complete_registration';

Hi, even I am facing the exact same issue. None of the events are reflecting when I try to set up the campaign. How did you manage to make the above work?

chrisedington commented 3 years ago

@dooleyb1 This is how it managed to work in our code:

import { AppEventsLogger } from 'react-native-fbsdk'

-----------

AppEventsLogger.logEvent('fb_mobile_complete_registration', { fb_registration_method: 'web', _valueToSum: price, fb_currency: 'USD' })

-----------

  const params = {
    'fb_content_type': 'product',
    'fb_content_id': 'food',
    'fb_currency': 'USD'
  };
  AppEventsLogger.logEvent('fb_mobile_add_to_cart', price, params);

-----------

  AppEventsLogger.logEvent(`fb_mobile_activate_app`)

-----------

Worth noting -- it did take a long time for me to see events I sent reflect, can't remember off hand where it was, but to see the events go through took a while. I think I even waited 12-24 hours between each check, but I'm sure it's probably quicker than that.

dooleyb1 commented 3 years ago

@chrisedington Thank you man, shall give this a go and report back whether or not it works for me 👍