Android Question AdvertismentID

samannnn

Member
is there any way to check if a library transfer advertisment id?
i check logs and search for it but canot find it/
 

samannnn

Member
No automatic way. Which libraries are referenced?
Target audience is child and i use library "firebaseAdmob2"

i use this codes:

manifest:
AddReplacement($ADMOB_APP_ID$, -------------) 'your app id here

CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)

B4X:
Sub Admob
    Ads.Initialize 'Interstitial
    CheckConsentAndAddAds
End Sub
Private Sub CheckConsentAndAddAds
    Dim m As MobileAds
    Wait For (m.Initialize) MobileAds_Ready
    LogColor("After MobileAds_Ready", Colors.Magenta)
   
    Dim Builder As JavaObject = m.CreateRequestConfigurationBuilder(Array(Null))
    Builder.RunMethod("setTagForChildDirectedTreatment", Array(1)) 'TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE
    Builder.RunMethod("setMaxAdContentRating", Array("G"))
    m.SetConfiguration(Builder)

   
    If Ads.GetConsentStatus = "UNKNOWN" Then
        Wait For (Ads.RequestConsentInformation(False)) Complete (Success As Boolean)
    End If
    If Ads.GetConsentStatus = "REQUIRED" And Ads.GetConsentFormAvailable Then
        Wait For (Ads.ShowConsentForm) Complete (Success As Boolean)
    End If
    Log("Consent: " & Ads.GetConsentStatus)
    LoadAdmobAds
End Sub
 
Upvote 0

samannnn

Member
Target audience is child and i use library "firebaseAdmob2"

i use this codes:

manifest:
AddReplacement($ADMOB_APP_ID$, -------------) 'your app id here

CreateResourceFromFile(Macro, FirebaseAnalytics.GooglePlayBase)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)

B4X:
Sub Admob
    Ads.Initialize 'Interstitial
    CheckConsentAndAddAds
End Sub
Private Sub CheckConsentAndAddAds
    Dim m As MobileAds
    Wait For (m.Initialize) MobileAds_Ready
    LogColor("After MobileAds_Ready", Colors.Magenta)
  
    Dim Builder As JavaObject = m.CreateRequestConfigurationBuilder(Array(Null))
    Builder.RunMethod("setTagForChildDirectedTreatment", Array(1)) 'TAG_FOR_CHILD_DIRECTED_TREATMENT_TRUE
    Builder.RunMethod("setMaxAdContentRating", Array("G"))
    m.SetConfiguration(Builder)

  
    If Ads.GetConsentStatus = "UNKNOWN" Then
        Wait For (Ads.RequestConsentInformation(False)) Complete (Success As Boolean)
    End If
    If Ads.GetConsentStatus = "REQUIRED" And Ads.GetConsentFormAvailable Then
        Wait For (Ads.ShowConsentForm) Complete (Success As Boolean)
    End If
    Log("Consent: " & Ads.GetConsentStatus)
    LoadAdmobAds
End Sub
After a recent review, we found that your app is not compliant with one or more of our Developer Program Policies. See below for more information about your app’s status and how to correct the issue.​
Reasons of violation
Issue with your app​
We’ve identified that your app or an SDK in your app transmits device identifier(s) that do not comply with our Families Policy. These identifiers may include but are not limited to [Advertising ID].
Reasons of violation
About Families Policy Requirements​
Apps that solely target children must not transmit the following:
  • Android Advertising ID (AAID)
  • SIM Serial
  • Build Serial
  • BSSID
  • MAC
  • SSID
  • IMEI and/or IMSI
Apps that target both children and older audiences must not transmit the listed identifiers from children or users of unknown age.
Publishing Status
App status: Rejected​
Your app has been rejected and wasn't published due to this policy issue. If you submitted an update, the previous version of your app is still available on Google Play.
Action required: Submit your app for another review​
 
Upvote 0

samannnn

Member
I remove firebaseadmob, adshelper and every code in manifest that is related to firebase, my app release finally.
The result is firebaseadmob use AdvertisingID. But so me of apps release without problem.
any suggestion how solve this problem?
 
Upvote 0

Computersmith64

Well-Known Member
Licensed User
Longtime User
Target audience is child and i use library "firebaseAdmob2"
That would definitely use the Advertising ID & so do other Firebase functions - eg: analytics & Crashlytics.

- Colin.
 
Upvote 0
Top