Problem with account id
Closed this issue · 2 comments
I have cloned prebid server code and android pre-bidding sdk. When I run android sdk prebid.
I see setPrebidServerAccountId("0689a263-318d-448b-a3d4-b02e8a709d9d") from server test "https://prebid-server-test-j.prebid.org/openrtb2/ auction".
In my prebid server I can't find the account id to replace setPrebidServerAccountId with.
@Tuki277 - "account" in Prebid SDK is confusing. See https://docs.prebid.org/prebid-mobile/prebid-mobile-getting-started.html#accounts-and-account-settings for our attempt at explaining it and prebid/prebid-mobile-ios#946 for our attempt at fixing it.
What setPrebidServerAccountId("123")
actually gets translated to in the OpenRTB is ext.prebid.storedrequest.id: "123"
AND app.publisher.id: "123"
.
i.e. Prebid SDK references to "account" conflate two separate things: the Prebid Server account and the "top level stored request":
- The use PBS account is actually optional. If you're not going to run a multi-tenant environment, you don't need to utilize accounts on your server.
- The "top level stored request", however, is important as it defines global OpenRTB fields like tmax, priceGranularity, cache rules, and targeting rules. See https://docs.prebid.org/prebid-server/use-cases/pbs-sdk.html#prebid-server-resolves-the-stored-request-ids for how it works. See https://docs.prebid.org/prebid-server/features/pbs-storedreqs.html for how to create stored requests on your server.
Does this help?