Skip to content

Default Endpoints, minor revisions#477

Merged
rmloveland merged 2 commits intomasterfrom
default-endpoints
Dec 14, 2017
Merged

Default Endpoints, minor revisions#477
rmloveland merged 2 commits intomasterfrom
default-endpoints

Conversation

@bretg
Copy link
Contributor

@bretg bretg commented Dec 6, 2017

A few suggestions towards making the document easier to understand, and also adding the "default endpoint" section.

A few suggestions towards making the document easier to understand, and also adding the "default endpoint" section.
@bretg bretg requested a review from rmloveland December 6, 2017 20:36
@rmloveland
Copy link
Contributor

Relates to prebid/Prebid.js#1904

"sizeConfig": { ... }
debug: true, // Previously `logging`
s2sConfig: { ... },
priceGranularit": "medium",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


## 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:
Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Captured in #482

Copy link
Contributor Author

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: ""}
});

@bretg
Copy link
Contributor Author

bretg commented Dec 12, 2017

Made requested changes - @mjacobsonny, @rmloveland

Copy link
Contributor

@rmloveland rmloveland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks @bretg

@rmloveland rmloveland merged commit 4492e39 into master Dec 14, 2017
@rmloveland rmloveland deleted the default-endpoints branch December 14, 2017 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments