googleads / googleads-mobile-android-mediation

Sample Android project showcasing how to build a mediation adapter or custom event for the Google Mobile Ads SDK.
Apache License 2.0
241 stars 197 forks source link

Request: please update docs of what to do with KEY_SOCIAL_CONTEXT_ASSET and Facebook (Meta) in general #480

Closed AndroidDeveloperLB closed 10 months ago

AndroidDeveloperLB commented 1 year ago

Can you please explain how to use the mediation of Facebook into Admob? All it says on the docs that I need to add the dependency, saying no further code is needed:

https://developers.google.com/admob/android/mediation/meta#step_4_additional_code_required

However, in the past we had this:

final AdRequest.Builder builder = new AdRequest.Builder();
builder.addNetworkExtrasBundle(FacebookAdapter.class, new FacebookExtras().setNativeBanner(true).build());
adLoader.loadAd(builder.build());

And now it's gone. Am I supposed to do anything with FacebookMediationAdapter ?

Today we have this weird KEY_SOCIAL_CONTEXT_ASSET without any further explanation of what I'm supposed to do with it (might be a string), except it says Facebook (Meta) might not map it correctly: https://developers.google.com/admob/android/mediation/meta#native_ads

Can you please update the docs?

joshh-devrel commented 10 months ago

@AndroidDeveloperLB The dev doc: https://developers.google.com/admob/android/mediation/meta#native_ads is now updated. Thanks!

AndroidDeveloperLB commented 10 months ago

@joshh-devrel All I see is that it now mentions KEY_SOCIAL_CONTEXT_ASSET is a String. What about the migration? And why doesn't it tell what exactly is KEY_SOCIAL_CONTEXT_ASSET ? What is "social context" ? What am I supposed to do with this?