-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Default Endpoints, minor revisions #477
Conversation
A few suggestions towards making the document easier to understand, and also adding the "default endpoint" section.
Relates to prebid/Prebid.js#1904 |
dev-docs/prebid-1.0-API.md
Outdated
"sizeConfig": { ... } | ||
debug: true, // Previously `logging` | ||
s2sConfig: { ... }, | ||
priceGranularit": "medium", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
dev-docs/prebid-1.0-API.md
Outdated
|
||
## No More Default Endpoints | ||
|
||
In Prebid 0.x there were defaults for the Prebid Server endpoints and the video cache URL. With 1.0, these defaults have been removed to be vendor neutral, so all publisher pages must define them via pbjs.setConfig(). The same functionality as 0.x may be achieved with this setConfig: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd revise the last phrase to "may be achieved as shown below" to avoid using the method name in prose right before just showing a code sample anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
|
||
{% endhighlight %} | ||
|
||
## No More Default Endpoints |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean the following no longer works as of the 1.0 release?
pbjs.setConfig({
usePrebidCache: true
});
If so there are a lot of video docs that need updating as a result of this change. Looks like this is a result of prebid/Prebid.js#1904 yes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Captured in #482
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right - now it would to be:
pbjs.setConfig({
usePrebidCache: true,
cache: {url: ""}
});
Made requested changes - @mjacobsonny, @rmloveland |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks @bretg
A few suggestions towards making the document easier to understand, and also adding the "default endpoint" section.