Delphi makes it easy to monetize apps. We provides a component called tBannerAd to put a banner advertising with a number of properties and methods that allow us to abstract away all the complexity that entails. To use it simply put the component in our form and we call it this way. PROCEDURE TfOpciones.Publicidad(BannerAd1: TBannerAd); BEGIN BannerAd1.AdUnitID: = CODIGO_PUBLICIDAD; BannerAd1.LoadAd; BannerAd1.Visible: = True; END; Permissions we need to activate are:-
Access network state - b also have to mark the check "Service Admob" from the menu Options-Project-Entitlement List.Si have you noticed a constant called "CODIGO_PUBLICIDAD" is where does? I Preguntareispues to get there is to open an account on Admob "https://www.google.es/admob/". (Admob is a company that manages advertising for apps and that has certainly been bought by Google). Then you should select one of the apps that you've done, that duty
Weiterlesen...