Welcome! Log In Create A New Profile

Advanced

RGPD Consent form for Google ads

Posted by Rubén Sánchez 
RGPD Consent form for Google ads
February 23, 2019 06:47PM
Good morning. I just published an example on the PCsoft website. [repository.windev.com]

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. [github.com]

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 [github.com]

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

Rubén
Re: RGPD Consent form for Google ads
February 26, 2019 04:13AM
Hi,

Very good info,

Regards,

Jon Lau
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: