I want to write to url
of component BannerAd
after doing Load, I realize that the component passes url
to the device's default browser. The code is as follows:
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,System.Variants,
FMX.Types, FMX.Controls,
FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Edit, FMX.Advertising;
type
TForm1 = class(TForm)
BannerAd1: TBannerAd;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.fmx}
procedure TForm1.FormCreate(Sender: TObject);
begin
BannerAd1.AdUnitID := 'Código fornecido pelo Admob';
BannerAd1.LoadAd;
end;
end.
Does anyone have any idea how I can do it?