Skip to content

Commit

Permalink
Update refererInfo spec to match AMP updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mgriego authored Feb 12, 2020
1 parent 97da8f5 commit 800eb0a
Showing 1 changed file with 2 additions and 1 deletion.
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

0 comments on commit 800eb0a

Please sign in to comment.