-
Notifications
You must be signed in to change notification settings - Fork 237
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
Guidance and clarification regarding CPC billing #1104
Comments
@michaelkleber I found out those wordings here: Potentially, we can fire events ( Will appreciate further guidance. Thank you! |
If you are rendering the ad inside a fenced frame or an iframe where the src is the render URL that came out of the PA auction, then you can use the If that doesn't meet your needs — which is to say, if your plan is to pull information out of that iframe, and instead render it somewhere up in the publisher page — then you won't have that reporting system available. In that case you can still reconstruct the association between auctions and their clicks, but it would be more involved:
With this technique you will end up getting two reports: one with the event ID and the information from the auction, and another with the same event ID and information about the click. Then you will need to do some kind of server-side log join to connect them to each other. If I were picking between the two techniques, I would probably try the "render inside the iframe" approach. That one is more future-proof when looking ahead to the Fenced Frame era: of course we will need some different way to get the rendering info into the Fenced Frame, but the essential idea should stay the same. But depending on how your various systems work, the log-join approach might be easier to implement for now. |
Hi all,
Background:
A common model in native advertising is CPC. A native advertising platform charges the advertiser when a user clicks a sponsored content item (ad).
Ad tech platforms engage in different use cases that involve campaign stoppage (avoiding overcharging), billing accountability, bid optimization, bid tuning, campaign pacing, and other related issues (see this case from three years ago—#175).
In PAAPI, these use cases will happen in the client upon generating the bid (buyer) and scoring the ad (seller).
To support CPC billing, we need to keep real-time reporting.
What we know:
Until the aggregate reporting and fenced frames reporting APIs are enforced in 2026, the following event-level reportings are currently available:
reportWin
- buyer reporting on render (buyer)reportResult
- this is called with the bid that won the auction (seller)renderUrl
rendering in the iframe)According to the explainer,
registerAdBeacon()
andregisterAdMacro()
functions can report the click event within the fenced frame. However, fenced frame does not support native advertising yet, and both of those functions are missing information about the bid and ad cost. There is also ambiguity in the document regarding these functions availability in the current stage of event-level reporting.Challenge:
CPC billing is impossible.
There is a race condition between:
reportWin
andreportResult
events with the CPC (these events are reporting thebid
andadCost
values) - fired upon win and render of the ad, and not when the user is clicking the ad.And:
The SSP own click reporting event that lacks the CPC billing value as it just comes from the renderUrl within the iframe
Open questions:
bid
field as a representation of the CPM value andadCost
as the representation of billing upon click, viewable impression, an action, or any other event. Can you please confirm this?We're seeking clarity on implementing 'CPC billing' effectively, especially considering the current challenges.
Thank you!
The text was updated successfully, but these errors were encountered: