Skip to content
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

Update refererInfo spec to match AMP updates #1803

Merged
merged 1 commit into from
Oct 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dev-docs/bidder-adaptor.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ Referrer information is included on the `bidderRequest.refererInfo` property. Th
- `referer`: a string containing the detected top-level URL.
- `reachedTop`: a boolean specifying whether Prebid was able to walk up to the top window.
- `numIframes`: the number of iFrames.
- `stack`: a string of comma-separated URLs of all origins.
- `stack`: an array of URLs of all windows from the top window down to the current window.
- `canonicalUrl`: a string containing the canonical (search engine friendly) URL defined in top-most window.
- `isAmp`: a boolean specifying whether the detected referer was determined based on AMP page information.

The URL returned by `refererInfo` is in raw format. We recommend encoding the URL before adding it to the request payload to ensure it will be sent and interpreted correctly.

Expand Down