Success Case
Here the code is identical to the failure case except that the biddingLogicUrl and scoreads url points to the actual static files.
const myGroup = {
'owner': 'https://www.privacy-sandbox-testing-one.com/',
'name': 'womens-running-shoes',
'biddingLogicUrl': 'https://www.privacy-sandbox-testing-one.com/biddingfunction.js',
'ads': [{renderUrl: 'https://www.privacy-sandbox-testing-one.com/creative?id=23'}],
'trustedBiddingSignalsURL': 'https://www.privacy-sandbox-testing-one.com/buyer-kv-call',
'trustedBiddingSignalsKeys': ['a', 'b', 'c'],
'lifetimeMs': 3600
};
const joinPromise = navigator.joinAdInterestGroup(myGroup);
console.log(joinPromise);
const myAuctionConfig = {
'seller': 'https://www.privacy-sandbox-testing-one.com/',
'decisionLogicURL': 'https://www.privacy-sandbox-testing-one.com/scoreads.js',
'interestGroupBuyers': ['https://www.privacy-sandbox-testing-one.com/'],
'auctionSignals': {'a': 'lkj'},
'trustedScoringSignalsURL': 'https://www.privacy-sandbox-testing-one.com/seller-kv-call'
};
const result = await navigator.runAdAuction(myAuctionConfig);
console.log(result);
You can open console in dev tools and should see logs from bidding and scoring functions.
Oddity
One thing I don't quite get: if you open the link to come here the logs from bidding/scoring don't show up, but once you refresh they do. I don't know why this is.
However, an opaque urn should show up no matter what, different from the failure case.