Every existing consent law contemplates the possibility of the user changing his mind, thus changing the given consent. This means that the GUI resurface needs to be possible, which means AdConsent needs a way to manually open the GUI. This is achieved through the showGUI function in AdConsent, which can be called through adconsent global object.
Shows the CMP GUI.
Opening the GUI for a specific consent region means:
GDPR applies to the user: GDPR GUI will be opened
CCPA applies to the user: CCPA GUI will be opened
This function can be called at any time of AdConsent execution time. However, calls before AdConsent check existing consent will be delayed until that point.
Show the AdConsent GUI
This will open the consent region specific GUI. If a user is coming from a privacy region, for example, GDPR, it will open the GDPR GUI and allow the user to see and edit his previous choices. If there is no privacy region available for this user, the call will be ignored.