AdMob
Last updated
Last updated
AdMob component allows you to easily montize your app using only drag-and-drop! The AdMob component is for creating Banner Ads.
To start using AdMob, you'll to have an AdMob account and AdUnitId. To create account and AdUnitId, please follow Steps 1-6 from document HERE.
Please see AdMob video guide below. It is very important to follow their Terms of Service (ToS) and guide:
https://support.google.com/admob/answer/6128877?hl=en
Create a new AppyBuilder project and name it TestAdmob
Once Design Editor opens, from the left Category Palette, select the Monetize category, then drag the AdMob (visible component) and drop into the Layout. You are now able to select this Component and change the Ad-Unit-ID property in the Properties Palette.
NOTE: For testing, you should use TEST AdUnitId. See link HERE for these IDs.
In addition, for the ADs to display, please ensure that you select Screen1 component, and then set the Sizing to Responsive:
Under the Google EU User Consent Policy, you must make certain disclosures to your users in the European Economic Area (EEA) and obtain their consent to use personal data (such as AdID) to serve ads. This policy reflects the requirements of the EU ePrivacy Directive and the General Data Protection Regulation (GDPR). You can get more information about GDPR and European consent, please visit page HERE.
To support developers in meeting their duties under this policy, AppyBuilder has implemented blocks to help you meet the GDPR requirements.
Invoking above block will trigger event-handler block ConsentStatusLoaded block below. This block includes parameters below:
isPersonalized: if ad delivery is set to personalized, it will return true, else false
isEuropeanUser: returns true if user is in Europe, else false
message: Gives status of user consent. If consent not given it will be set to "unknow", if user has consented to personalized data, if be set to "personalized". If user consented to non_personalized, it will be set to "non_personalized".
Revoking Consent. You can use block block below to revoke / cancel the previous consent. This block was added to stay compliant with Google for allowing your app to reset / refresh consent.