         let prebidSdkVersion = Bundle(for: type(of: self)).infoDictionary?["CFBundleShortVersionString"] as? String
         requestAppExt["prebid"] = ["version": prebidSdkVersion, "source": "prebid-mobile"]
 
-        let contextDataDictionary = Targeting.shared.getContextDataDictionary().getCopyWhereValueIsArray()
-        if contextDataDictionary.count > 0 {
-            requestAppExt["data"] = contextDataDictionary
-        }
-
-        let contextKeywordsString = Targeting.shared.getContextKeywordsSet().toCommaSeparatedListString()
-
-        if !contextKeywordsString.isEmpty {
-            app["keywords"] = contextKeywordsString
-        }
+        requestAppExt["data"] = Targeting.shared.getContextDataDictionary().getCopyWhereValueIsArray()
 
         app["ext"] = requestAppExt
+        
+        app["keywords"] = Targeting.shared.getContextKeywordsSet().toCommaSeparatedListString()
 
         if let storeUrl = Targeting.shared.storeURL, !storeUrl.isEmpty {
             app["storeurl"] = storeUrl

        requestPrebidExt["targeting"] = [:]
        requestPrebidExt["storedrequest"] = ["id": Prebid.shared.prebidServerAccountId]
        requestPrebidExt["cache"] = ["bids": [AnyHashable: Any]()]

        let acl = Array(Targeting.shared.getAccessControlList())
        if acl.count > 0 {
            requestPrebidExt["data"] = ["bidders": acl]
        }

        var requestExt: [AnyHashable: Any] = [:]
        requestExt["prebid"] = requestPrebidExt

        adUnitExt["prebid"] = prebidAdUnitExt

        var prebidAdUnitExtContext: [AnyHashable: Any] = [:]
        prebidAdUnitExtContext["keywords"] = adUnit?.getContextKeywordsSet().toCommaSeparatedListString()
        prebidAdUnitExtContext["data"] = adUnit?.getContextDataDictionary().getCopyWhereValueIsArray()

        adUnitExt["context"] = prebidAdUnitExtContext

        imp["ext"] = adUnitExt

