             targeting.subjectToGDPR = nil
         }
 
-        var gdpr: Int? = nil
-
-        //when
-        let jsonRequestBody = try getPostDataHelper(adUnit: adUnit).jsonRequestBody
-
-        if let regs = jsonRequestBody["regs"] as? [String: Any],
-            let regsExt = regs["ext"] as? [String: Any],
-            let extGdpr = regsExt["gdpr"] as? Int {
-
-            gdpr = extGdpr
-        }
-
-        //then
-        XCTAssertNil(gdpr)
-    }
-    
-    func testPostDataWithGdprConsent() throws {
+        //when
+        let jsonRequestBody = try getPostDataHelper(adUnit: adUnit).jsonRequestBody
+
+        let regs = jsonRequestBody["regs"] as? [String: Any]
+
+        //then
+        XCTAssertNil(regs)
+    }
+    
+    func testPostDataGdprSubjectUndefined() throws {
+
+        //given
+        let targeting = Targeting.shared
+        targeting.subjectToGDPR = nil
+
+        //when
+        let jsonRequestBody = try getPostDataHelper(adUnit: adUnit).jsonRequestBody
+
+        let regs = jsonRequestBody["regs"] as? [String: Any]
+
+        //then
+        XCTAssertNil(regs)
+    }
+    
+    //MARK: - GDPR Consent
+    func testPostDataGdprConsent() throws {
 
         //given
         let targeting = Targeting.shared

        XCTAssertEqual(hasIfa, ifa != nil)
    }
    
    func testPostDataWithCCPA() throws {

        //given
        UserDefaults.standard.set("testCCPA", forKey: StorageUtils.IABUSPrivacy_StringKey)


    }
    
    func testPostDataGdprConsentAndGdprSubjectFalse() throws {

        //given
        let targeting = Targeting.shared
