Skip to main content

Function: getHydratedAdsByIS()

getHydratedAdsByIS(args, options?): Promise<HydratedAdsResponse<Product>>

Defined in: facade.ts:105

Simple fallback hydration strategy using Intelligent Search.

Warning: This implementation does not use cache and may degrade performance. Prefer using getHydratedAds with a custom fetcher when possible.

Parameters​

args​

GetAdsArgs

Targeting arguments to fetch ads.

options?​

GetAdsOptions

Request options, such as a signal to cancel the ad server and Intelligent Search requests.

Returns​

Promise<HydratedAdsResponse<Product>>

Promise resolving to hydrated ads response using Intelligent Search