TBannerAd can't load via LoadAd in Delphi 10.2 Tokyo - Firemonkey Android.
Uses Permissions - OK
Access network state
Internet
AdMob Service = True for Project/Options/Entitlement List - OK
AdUnitID - OK
procedure TForm1.FormCreate(Sender: TObject);
begin
BannerAd1.AdUnitID:='ca-app-pub-3940256099942544/6300978111';
// AdMob Banner Sample ad unit ID
// Also I tried for my real AdUnitID
end;
My sample code for to try - OK
procedure TForm1.Button1Click(Sender: TObject);
begin
BannerAd1.LoadAd;
end;
I used AdMob for my old project in different Delphi version.
There didn't any problem for this.
But, my application is freezing for a time and TBannerAd can't load via LoadAd for this project.
Log monitor is giving this error for this problem.
The Google Play services resources were not found.
Check your project configuration to ensure that the resources are included.