PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Consent form to show advertising to the user
Consent form to show advertising to the user
Débuté par Rubén Sánchez Peña, 17 déc. 2018 15:52 - 1 réponse
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 17 décembre 2018 - 15:52
Hello, has anyone implemented in an application the consent form to show advertising to the user? I have followed the steps indicated by Google to implement it in Android and the application closes without any message to show the form.

Thank you


Rubén
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 23 février 2019 - 16:47
Good morning. I just published an example on the PCsoft website. https://depot.pcsoft.fr/resource.awp…

Currently WM does not support the new European GPRD for the use of ads in applications. I have indicated to PCSoft the existing problem, and continue waiting for their answer, so I have finally implemented it myself.

WM displays ads without taking into account the new privacy standards required by the European Union. Google has made available to developers a model form to request the user's consent to show advertising, and this example of code is a wrapper on the Google form. https://github.com/googleads/googleads-consent-sdk-android

The code shows the user the form to choose the type of information. The selected information generates a type of advertising request according to what the user has chosen. The attached advertising control is included in an internal window to facilitate its inclusion in the windows.

The request for information to the user is only made if you have not previously indicated the type of advertising you want to receive. It also shows the option for the user to modify the choice of the type of advertising you want to receive.

Before seeing it in operation must update the Java code to contain your advertising code Admob (pub-xxxxxx) and the Url of your website which describes the privacy policy of the app.

You can activate the debugging options in the Java code to see what the flow steps are in the process of obtaining consent.

In the GPRD folder the translations of the Google form into several European languages are available. You must copy the HTML file of the desired language as consentform.html. More information at https://github.com/googleads/googleads-consent-sdk-android/issues/14

The example I have done in WM23 but also works without problems in WM24.


Rubén