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

changing currency file location #1076

Merged
merged 1 commit into from
Jan 10, 2019
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
13 changes: 7 additions & 6 deletions dev-docs/modules/currency.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ a currency object that may contain several parameters:

### Prebid.org's currency file

Prebid.org hosts a conversion file at [https://currency.prebid.org/latest.json](https://currency.prebid.org/latest.json). The currencies currently supported are: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HRK, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, ZAR.
Prebid.org hosts a conversion file at [https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json](https://cdn.jsdelivr.net/gh/prebid/currency-file@1/latest.json). The currencies currently supported are: AUD, BGN, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HRK, HUF, IDR, ILS, INR, ISK, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PLN, RON, RUB, SEK, SGD, THB, TRY, USD, ZAR.

{: .alert.alert-warning :}
The currencies on this list could change if the underlying API source changes. If a desired currency isn't on this list, you will need to generate and host your own conversion file.
Expand Down Expand Up @@ -294,13 +294,14 @@ the file will be loaded well before bids return.

**What happens if the file doesn't load on time or not at all or doesn't contain a necessary conversion?**

If the currency feature is turned on and the file's not back by the time the system
needs to convert a bid, that bid is queued until the currency file has loaded.
If the currency feature is turned on and the conversion file's not back by the time the system
needs to convert a bid, the `defaultRates` will be used. If there aren't any `defaultRates`, bids are queued
until the currency file has loaded.

The bid is also skipped if the file doesn't contain a conversion from the bid currency
to the ad server currency.
If the Prebid timeout occurs while bids are still on the queue, they will be skipped rather than passed to the ad server.

If the timeout occurs while bids are still on the queue, they will be skipped rather than passed to the ad server.
A bid is also skipped if the file (or `defaultRates`) doesn't contain a conversion from the bid currency
to the ad server currency.

**Can I use the DFP Secondary Currency Feature instead?**

Expand Down