Capture URL using Admob code

0

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?

    
asked by anonymous 18.01.2016 / 19:46

1 answer

-1
BannerAd1.AdUnitID := 'Aqui vem o id que é dado, com esse id carrega a propaganda';
BannerAd1.LoadAd;
BannerAd1.visible:= true;
    
31.05.2016 / 15:14