Page MenuHomePhabricator

[Google Adsense] Allow to pause ad delivery as long as the user was asked for consent
Closed, DeclinedPublic

Description

Google AdSense allows to pause the delivery of ads as long as the user hasn't given his consent of getting personalized ads (the functionality/UI to actually give consent is not part of that) by adding a specific configuration before each ad-request was made. See https://support.google.com/adsense/answer/7670312?hl=en for more information about that. This extension should actually allow to pause the ad delivery and should provide a client-side hook to give other extensions (which implement an actual cookie/ad consent form), like MediaWiki-extensions-CookieWarning, a possibility to trigger delivering of ads. The parameter is pauseAdRequests and should be set to the settings before the first ad request with:

(adsbygoogle=window.adsbygoogle||[]).pauseAdRequests=1

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Aklapper renamed this task from Allow to pause ad delivery as long as the user was asked for consent to [Google Adsense] Allow to pause ad delivery as long as the user was asked for consent.Jan 25 2019, 6:01 PM

@Liuxinyu970226: Please don't subscribe people without explaining why you subscribe them and without any question for them.

This task is probably related to T249248, which could provide a way on how a user could be asked for consent.