I have installed MarcTron.Admob package, version 1.6.9 for my Xamarin.Forms project.
According to its documentation there is a property called PersonalizedAds
.
- I get the error:
The property 'PersonalizedAds' was not found in type 'MTAdView'
. Why is the property not recognized? - Using
CrossMTAdmob.Current.UserPersonalizedAds = true;
which MTAdview items would it affect? All the MTAdview items that are listed in a Content Page?
CodePudding user response:
I get the error: The property 'PersonalizedAds' was not found in type 'MTAdView'. Why is the property not recognized?
The Personalized property was removed from MTAdViewfrom MTAdView Version 1.6.2. If you want to use it, use Version 1.6.1 and the previous version.
Using CrossMTAdmob.Current.UserPersonalizedAds = true; which MTAdview items would it affect? All the MTAdview items that are listed in a Content Page?
UserPersonalizedAds
is Global Property. When you set UserPersonalizedAds
to true, all your Admob banner will show personalized ads and will have the same Id.