-
public final class AdRendererThe AdRenderer class is responsible for fetching and preparing ad data for rendering. It acts as a bridge between the ad fetcher module and UI-level ad views.
-
-
Constructor Summary
Constructors Constructor Description AdRenderer()
-
Method Summary
Modifier and Type Method Description final Map<String, Object>fetchBannerAdsWithAu(String cliUbid, String pageType, String adUnits, Map<String, Object> targetingParams, Map<String, Object> extraParams)final Map<String, Object>fetchCarouselAdWithAu(String cliUbid, String pageType, String adUnits, Map<String, Object> targetingParams, Map<String, Object> extraParams)final Map<String, Object>fetchMultiAdCarouselWithAu(String cliUbid, String pageType, String adUnits, Integer productCount, Map<String, Object> targetingParams, Map<String, Object> extraParams)final Map<String, Object>fetch_banner_ads_with_au(String cli_ubid, String page_type, String ad_units, Map<String, Object> targeting_params, Map<String, Object> extra_params)final Map<String, Object>fetch_carousel_ad_with_au(String cli_ubid, String page_type, String ad_units, Map<String, Object> targeting_params, Map<String, Object> extra_params)final Map<String, Object>fetch_multi_ad_carousel_with_au(String cli_ubid, String page_type, String ad_units, Integer product_count, Map<String, Object> targeting_params, Map<String, Object> extra_params)-
-
Method Detail
-
fetchBannerAdsWithAu
final Map<String, Object> fetchBannerAdsWithAu(String cliUbid, String pageType, String adUnits, Map<String, Object> targetingParams, Map<String, Object> extraParams)
- Parameters:
cliUbid- : Retailers Generated Id to identify unique shopperpageType- : page type from which request made.adUnits- : Ad unit tags defined for the different slots on the page.targetingParams- (optional): Filter params that you want to applyextraParams- (optional): Map of any other params
-
fetchCarouselAdWithAu
final Map<String, Object> fetchCarouselAdWithAu(String cliUbid, String pageType, String adUnits, Map<String, Object> targetingParams, Map<String, Object> extraParams)
- Parameters:
cliUbid- : Retailers Generated Id to identify unique shopperpageType- : page type from which request made.adUnits- : Ad unit tags defined for the different slots on the page.targetingParams- (optional): Filter params that you want to applyextraParams- (optional): Map of any other params
-
fetchMultiAdCarouselWithAu
final Map<String, Object> fetchMultiAdCarouselWithAu(String cliUbid, String pageType, String adUnits, Integer productCount, Map<String, Object> targetingParams, Map<String, Object> extraParams)
- Parameters:
cliUbid- : Retailers Generated Id to identify unique shopperpageType- : page type from which request made.adUnits- : Ad unit tags defined for the different slots on the page.productCount- : No of ads responded.targetingParams- (optional): Filter params that you want to applyextraParams- (optional): Map of any other params
-
fetch_banner_ads_with_au
@Deprecated(message = Use fetchBannerAdsWithAu instead, replaceWith = @ReplaceWith(imports = {}, expression = fetchBannerAdsWithAu(cliUbid, pageType, adUnits, targetingParams, extraParams)), level = DeprecationLevel.WARNING) final Map<String, Object> fetch_banner_ads_with_au(String cli_ubid, String page_type, String ad_units, Map<String, Object> targeting_params, Map<String, Object> extra_params)
- Parameters:
cli_ubid- : Retailers Generated Id to identify unique shopper.page_type- : page type from which request made.targeting_params- (optional): Filter params that you want to applyextra_params- (optional): map of any other params
-
fetch_carousel_ad_with_au
@Deprecated(message = Use fetchCarouselAdWithAu instead, replaceWith = @ReplaceWith(imports = {}, expression = fetchCarouselAdWithAu(cliUbid, pageType, adUnits, targetingParams, extraParams)), level = DeprecationLevel.WARNING) final Map<String, Object> fetch_carousel_ad_with_au(String cli_ubid, String page_type, String ad_units, Map<String, Object> targeting_params, Map<String, Object> extra_params)
- Parameters:
cli_ubid- : Retailers Generated Id to identify unique shopperpage_type- : page type from which request made.ad_units- : Ad unit tags defined for the different slots on the page.targeting_params- (optional): Filter params that you want to applyextra_params- (optional): Map of any other params
-
fetch_multi_ad_carousel_with_au
@Deprecated(message = Use fetchMultiAdCarouselWithAu instead, replaceWith = @ReplaceWith(imports = {}, expression = fetchMultiAdCarouselWithAu(cliUbid, pageType, adUnits, productCount, targetingParams, extraParams)), level = DeprecationLevel.WARNING) final Map<String, Object> fetch_multi_ad_carousel_with_au(String cli_ubid, String page_type, String ad_units, Integer product_count, Map<String, Object> targeting_params, Map<String, Object> extra_params)
-
-
-
-