According to v4.4.0 release notes one can now specify a udf version in request. Are there some docs, how to use this feature?
I tried using BUYER_CODE_FETCH_CONFIG like this one:
{
"fetch_mode": 1,
"protectedAuctionBiddingJsBucket": "%BUCKET_NAME%",
"protectedAuctionBiddingJsBucketDefaultBlob": "dir1/dir2/file.js",
"protectedAppSignalsBiddingJsBucket": "",
"protectedAppSignalsBiddingJsBucketDefaultBlob": "",
"urlFetchPeriodMs": 60001,
"urlFetchTimeoutMs": 30000,
"enableBuyerDebugUrlGeneration": true,
"adsRetrievalJsBucket": "",
"adsRetrievalBucketDefaultBlob": "",
"enablePrivateAggregateReporting": false
}
Upon bidding service startup and once every minute I'm seeing logs like these:
I1216 15:30:33.348910 43 periodic_bucket_code_fetcher.cc:94] Current code loaded into Roma for version %BUCKET_NAME%/dir1/dir2/file.js
Followed by the wrapper JS code and the scripts contents (and also for other scripts in the bucket).
Unfortunately every request fails with an error this one:
I1216 14:16:33.058221 90 generate_bids_reactor.cc:433] (adtechDebugId: DEBUG_ID, generationId: 39b6d619-81d0-431b-bc53-89dd8b4211a6) Generate Bids V8 Response: INTERNAL: Execution failed; Could not find a stored context for the execution request.
It was the same when I set this JS path in blob_versions.protected_audience_generate_bid_udf of PerBuyerConfig or when I added a / or %BUCKET_NAME%/ prefix.
I also tried using stub JS scripts like function generateBid().
The only difference I observed was a bidding service crash when I uploaded an empty script to the bucket:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_replace_aux
*** SIGABRT received at time=1734358814 on cpu 1 ***
PC: @ 0x7e558f886ce1 (unknown) raise
@ 0x55dd97ad1b92 208 absl::AbslFailureSignalHandler()
@ 0x7e558fd6d140 (unknown) (unknown)
@ 0x4d5f3a3a676e6972 (unknown) (unknown)
Aborted (core dumped)
According to v4.4.0 release notes one can now specify a udf version in request. Are there some docs, how to use this feature?
I tried using
BUYER_CODE_FETCH_CONFIGlike this one:Upon bidding service startup and once every minute I'm seeing logs like these:
Followed by the wrapper JS code and the scripts contents (and also for other scripts in the bucket).
Unfortunately every request fails with an error this one:
It was the same when I set this JS path in
blob_versions.protected_audience_generate_bid_udfofPerBuyerConfigor when I added a/or%BUCKET_NAME%/prefix.I also tried using stub JS scripts like
function generateBid().The only difference I observed was a bidding service crash when I uploaded an empty script to the bucket: