-
public interface AdFetcherSDKInterfaceProject Name: OSMOS-Android-SDK File Name: AdFetcherSDKInterface
Interface for ad fetching functionality in the OSMOS SDK. Provides methods for fetching different types of ads.
-
-
Method Summary
Modifier and Type Method Description abstract Map<String, Object>fetchDisplayAdsWithAu(String cliUbid, String pageType, Integer productCount, List<String> adUnits, List<TargetingParams> targetingParams, ErrorCallback errorCallback)Fetches display ads using Ad Unit-based targeting. abstract Map<String, Object>fetchDisplayAdsWithPt(String cliUbid, String pageType, Integer productCount, List<TargetingParams> targetingParams, ErrorCallback errorCallback)Fetches display ads using Page Type-based targeting. abstract Map<String, Object>fetchPlaAds(String cliUbid, PlaPageType pageType, Integer productCount, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches Product Listing Ads (PLA) based on the provided parameters. abstract Map<String, Object>fetchPlaSearchPageAds(String cliUbid, Integer productCount, String keyword, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches PLA ads specifically for search pages. abstract Map<String, Object>fetchPlaHomePageAds(String cliUbid, Integer productCount, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches Product Listing Ads (PLA) for the home page. abstract Map<String, Object>fetchPlaCategoryPageAds(String cliUbid, Integer productCount, List<String> categories, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches PLA ads for a category page. abstract Map<String, Object>fetchPlaProductPageAds(String cliUbid, Integer productCount, List<String> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches PLA ads for a product detail page. abstract Map<String, Object>fetchPlaPurchasePageAds(String cliUbid, Integer productCount, List<String> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)Fetches PLA ads for a purchase detail page. abstract Map<String, Object>fetchTpaPageAds(String cliUbid, Integer productCount, List<Object> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)POST API Call for Tagged Product Ads. -
-
Method Detail
-
fetchDisplayAdsWithAu
abstract Map<String, Object> fetchDisplayAdsWithAu(String cliUbid, String pageType, Integer productCount, List<String> adUnits, List<TargetingParams> targetingParams, ErrorCallback errorCallback)
Fetches display ads using Ad Unit-based targeting.
-
fetchDisplayAdsWithPt
abstract Map<String, Object> fetchDisplayAdsWithPt(String cliUbid, String pageType, Integer productCount, List<TargetingParams> targetingParams, ErrorCallback errorCallback)
Fetches display ads using Page Type-based targeting.
-
fetchPlaAds
abstract Map<String, Object> fetchPlaAds(String cliUbid, PlaPageType pageType, Integer productCount, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches Product Listing Ads (PLA) based on the provided parameters.
-
fetchPlaSearchPageAds
abstract Map<String, Object> fetchPlaSearchPageAds(String cliUbid, Integer productCount, String keyword, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches PLA ads specifically for search pages.
-
fetchPlaHomePageAds
abstract Map<String, Object> fetchPlaHomePageAds(String cliUbid, Integer productCount, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches Product Listing Ads (PLA) for the home page.
-
fetchPlaCategoryPageAds
abstract Map<String, Object> fetchPlaCategoryPageAds(String cliUbid, Integer productCount, List<String> categories, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches PLA ads for a category page.
-
fetchPlaProductPageAds
abstract Map<String, Object> fetchPlaProductPageAds(String cliUbid, Integer productCount, List<String> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches PLA ads for a product detail page.
-
fetchPlaPurchasePageAds
abstract Map<String, Object> fetchPlaPurchasePageAds(String cliUbid, Integer productCount, List<String> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
Fetches PLA ads for a purchase detail page.
-
fetchTpaPageAds
abstract Map<String, Object> fetchTpaPageAds(String cliUbid, Integer productCount, List<Object> skuIds, String pageName, ProductAdsFilter filters, ErrorCallback errorCallback)
POST API Call for Tagged Product Ads.
-
-
-
-