Auction Running with URLs with Same Site But Different Origin
Here we verify that the browser will error if you attempt to run an auction with a different origin for decisionLogicURL than for the seller.
Conclusion: indeed, we cannot.
Client Code
const myGroup = {
'owner': 'https://www.privacy-sandbox-testing-one.com/',
'name': 'womens-running-shoes',
'biddingLogicUrl': 'https://www.privacy-sandbox-testing-one.com/biddingfunction.js', // function(hiddenIGStuff) { return bids; }
'ads': [{renderUrl: 'https://creative.nike.com/creative?id=23'}],
'trustedBiddingSignalsURL': 'https://www.privacy-sandbox-testing-one.com/buyer-kv-call', // adnxs target is
'trustedBiddingSignalsKeys': ['TennisLover', 'Federer4Ever'],
'lifetimeMs': 3600
};
await navigator.joinAdInterestGroup(myGroup);
const myAuctionConfig = {
'seller': 'https://www.privacy-sandbox-testing-one.com/',
'decisionLogicURL': 'https://auctions.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);
Result
You can see the result for the current page load in the console; expected result image is below.