-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FLEDGE: reporting clicks #99
Comments
Adding to this issue, publishers also need access to the information about clicks broken down by different dimensions, such as ad slots, page URL, PMP deal and others to assess the performance and accurately price their inventory, as well as for CPC payments from advertisers. In addition, clicks can be an important signal in detecting invalid and fraudulent traffic. Currently, SSPs/exchanges typically record, aggregate and report click events to publishers by recommending or requiring buyer partners (DSPs) to embed an exchange-specific click macro (example) into the creative code. Such macro expands into an SSP-specific click reporting URL requested by a creative when a click happens. The FLEDGE flow does not seem to have a mechanism for a publisher or a seller network to receive click events for interest group-targeted ads: while buyers coudl in principle record clicks by embedding click trackers into the creative code rendered inside Fenced Frames, it is not clear how sellers can be notified of clicks that occur within a Fenced Frame, given that HTML code inside Fenced Frames cannot communicate with the containing publisher page. Can a mechanism for reporting clicks to publishers / sellers be added to FLEDGE, for instance, by allowing the creative running inside a Fenced Frame to notify a seller of a click via a new JavaScript API ( |
It seems entirely reasonable for both reporting functions ( For event-level reporting, we could have each reporting function register a URL in advance, which we pass to Would those meet your needs? This wouldn't support the click notification containing information about what happened later on the device, e.g. how long between when the ad was rendered and when it was clicked, which would still be possible in the click navigation url. |
It sounds like you're proposing something like:
Which can be called by While not executing arbitrary JS at click time makes a lot of sense, there are some pieces of information that are not known until the user interacts with the ad:
This is a similar problem to AMP's situation, and they decided to handle it by allowing the URL to contain variables subject to macro substitution. Would that sort of approach work here? For example:
The browser would have a list of variables that it could substitute, and would automatically evaluate the variable at click time, urlencode, and insert it into the URL. There are also cases where the creative may want to communicate additional information on the click. The creative in the fenced frame could call:
The creative could call this at any point, including in a click handler, which would make the key available to url substitution in sending the click beacon. If the visibility param contains |
(Speaking from the buy side) Is there a way for FLEDGE to accommodate this use case? I.e. is there a way for us to know whether individual impressions were clicked or not? |
@jeffkaufman: Yes, the macro substitution approach does seem like a good fit here. I think @shivanigithub has been thinking along similar lines. @lcevans You can indeed know whether individual impression were clicked, but in a way that includes precise contextual information and only k-anonymous information about the on-device auction (e.g. the winning creative). |
Will that be true even in the short term? IIUC in the short term version of FLEDGE we will have per_event logging via report_win for both contextual and on-device auction information. In which case might we also get per_won_impression information as to whether the impression clicked or not with all information as well? That is, I think the matching of impressions to clicks is orthogonal to whether we are allowed to log per_event or only k-anonymous information about impressions? (In so far as I don't think matching impressions to clicks poses any additional privacy concerns?) |
The restriction I mentioned is indeed for the short-term version of FLEDGE — check out the The related #93, also by @jonasz, has discussion of a |
My macro example above probably should have been:
We would want to use Template Literals, since they're already part of the web platform. |
This issue can probably be closed since the solution in https://github.com/WICG/turtledove/blob/main/Fenced_Frames_Ads_Reporting.md handles reporting clicks. |
The issue's original use case is indeed covered. (If there are any follow ups from other participants of the thread, I guess it'd be best to create a dedicated issue.) Thank you for solving this, Shivani! |
Hi,
Being able to identify which impressions resulted in a click is important (for example from the perspective of bidding model optimization). In the FLEDGE explainer, the section on event-level reporting mentions that:
I was wondering, could this mechanism also be responsible for triggering reports on click events? The FLEDGE explainer makes no mentions of reporting clicks, and I'd be grateful for your perspective on that.
Best regards,
Jonasz
The text was updated successfully, but these errors were encountered: