Samsung Galaxy A56 5G
  VS  
Vivo V50  

  • Price List

  • GENERAL

    • Operating System
    • Android 15
    • Android 15
    • OS Update
    • 6 generations of OS upgrades and up to 6 years of security updates
    • Custom UI
    • Samsung One UI 7.0
    • Funtouch OS
    • Device type
    • Smartphone
    • Smartphone
    • Sim
    • Dual Nano Sim
    • Dual Nano Sim
    • Colours
    • Awesome Olive, Awesome Graphite, Awesome Lightgray
    • Titanium Grey, Starry Night, Rose Red
  • Rear Camera Details(Primary)

  • Rear Camera

  • ANNOUNCED

    • Status
    • Announced
    • Announced
    • Global Release Date
    • March, 2025
    • 2025
    • Indian Release Date
    • 03 March 2025
    • 17 February 2025
  • BODY

    • Dimensions
    • 162.2mm x 77.5mm x 7.4mm
    • 16.329cm ×7.672cm ×0.739cm (Titanium Grey), 16.329cm ×7.672cm ×0.767cm (Starry Night), 16.329cm ×7.672cm ×0.757cm (Rose Red)
    • Weight
    • 198g
    • 189gm (Titanium Grey), 199gm (Starry Night), 199gm (Rose Red)
  • DISPLAY

    • Screen size
    • 6.7 inches
    • 6.77 inches
    • Technology
    • Super AMOLED
    • AMOLED
    • Screen resolution
    • 1080 x 2340 pixels, FHD+
    • 2392 × 1080 pixels
    • Refresh Rate
    • 120Hz refresh rate
    • 120Hz refresh rate
    • Display Protection
    • Corning Gorilla Glass Victus+ protection
    • 3D Curved display
    • Touchscreen
    • Capacitive Touchscreen
    • Capacitive Multi Touchscreen
    • Form Factor
    • Touch
    • Touch
  • PROCESSOR

    • Chipset
    • Exynos 1580 SoC
    • Qualcomm Snapdragon 7 Gen 3
    • CPU
    • Octa Core Up to 2.75 GHz, 2 GHz
    • Octa-core (1 × 2.63 GHz + 3 × 2.4 GHz + 4 × 1.8 GHz)
    • GPU
    • AMD Xclipse 530
    • ARM Mali-G610 MC6
  • STORAGE

    • Internal Storage
    • 128 GB / 256 GB
    • 128 / 256 / 512 GB
    • RAM
    • 8 / 12 GB
    • 8 / 12 GB LPDDR4X
    • Storage Type
    • UFS 2.2
    • External Storage
    • upto 1TB
    • No
    • Card Slot
    • microSD Card
    • No
  • CAMERA

    • Primary camera
    • 50MP (f/1.8, rear) + 12MP (f/2.2, ultra wide) + 5MP (f/2.4,macro) Camera with LED Flash
    • 50MP (OIS) Main (f/1.88) + 50MP Ultra Wide-Angle AF (f/2.0)
    • Front Camera
    • 12MP (f/2.2) Selfie Camera
    • 50MP AF (f/2.0)
    • Video Recording
    • 4K@30fps, 1080p@30/60fps; gyro-EIS
    • 4K; 1080P; 720P
    • Camera Features
    • HDR, Panorama, OIS, Slow motion and more
    • ZEISS Cinematic Portrait Video, AI Eraser, AI Camrea, ZEISS Multifocal Portrait, 4k video recording, gyro-EIS, ZEISS Style Portrait, Panorama, Slow-motion, Time lapse, OIS & more
  • MULTIMEDIA

    • Audio Player
    • MP3, M4A, 3GA, AAC, OGG, OGA, WAV, AMR, AWB, FLAC, MID, MIDI, XMF, MXMF, IMY, RTTTL, RTX, OTA
    • AAC, WAV, MP3, MIDI, VORBIS, APE, FLAC
    • Video Player
    • MP4, M4V, 3GP, 3G2, AVI, FLV, MKV, WEBM
    • MP4; 3GP; AVI; FLV; MKV; WEBM; TS; ASF
    • Games
    • Yes
    • Yes
    • Speakers
    • Yes, Stereo speakers, Dolby Atmos
    • Yes, Stereo Speakers
    • Audio Jack
    • USB Type-C
    • USB Type-C
  • BATTERY

    • Type
    • Non-removable Li-Ion 5000 mAh battery
    • Non-removable Li-Ion 6000 mAh (TYP) battery
    • Charging
    • 45W Fast Charging
    • 90W FlashCharge
  • CONNECTIVITY

    • GPRS
    • Yes
    • Yes
    • Edge
    • Yes
    • Yes
    • WLAN
    • Wi-Fi 802.11a/b/g/n/ac/ax (2.4GHz + 5GHz), dual-band, Wi-Fi Direct, hotspot
    • Wi-Fi 802.11 (2.4GHz + 5GHz), dual-band, WiFi Direct, hotspot
    • Bluetooth
    • v5.4
    • v5.4
    • USB
    • USB Type-C 2.0, USB OTG
    • Type-C, OTG
    • GPS Facility
    • GPS, Glonass, Beidou, Galileo, QZSS
    • GPS, BeiDou, GLONASS, Galileo, QZSS
    • Speed
    • HSPA 42.2/5.76 Mbps, LTE-A, 5G
    • HSPA, LTE-A, 5G
  • NETWORK SUPPORT

    • 2G
    • GSM GSM850, GSM900, DCS1800, PCS1900
    • GSM 850/900/1800 MHz
    • 3G
    • B1(2100), B2(1900), B4(AWS), B5(850), B8(900)
    • WCDMA B1/B4/B5/B6/B8
    • 4G
    • FDD: B1(2100), B2(1900), B3(1800), B4(AWS), B5(850), B7(2600), B8(900), B12(700), B13(700), B17(700), B20(800), B25(1900), B26(850), B28(700), B66(AWS-3) / TDD B38(2600), B40(2300), B41(2500)
    • FDD-LTE: B1/B3/B4/B5/B8/B18/B19/B26/B28/B66 TD-LTE: B38/B39/B40/B41/B42
    • 5G
    • FDD Sub6 : N1(2100), N3(1800), N5(850), N7(2600), N8(900), N26(850), N28(700), N66(AWS-3) / TDD Sub6: N40(2300), N41(2500), N77(3700), N78(3500)
    • n1/n3/n5/n8/n28/n40/n66/n77/n78
  • MORE FEATURES

    • Sensors
    • Fingerprint Sensor, Accelerometer, Gyro, Gyro Sensor, Geomagnetic Sensor, Hall Sensor, Light Sensor, Virtual Proximity Sensing
    • Accelerometer, Color Temperature Sensor, Ambient Light Sensor, Proximity Sensor, E-compass, Gyroscope
    • Other Features
    • Face Unlock, Samsung Pay, NFC, Dust and Water resistant (IP67)
    • In-display optical fingerprint sensor, Dust and Water resistant (IP68 & IP69)
  • BENCHMARK SCORES

    • GeekBench
    • 1341 (Single Core) - 3836 (Multi Core) (v6)
Compare Mobiles
Notifications
Settings
Clear Notifications
Notifications
Use the toggle to switch on notifications
  • Block for 8 hours
  • Block for 12 hours
  • Block for 24 hours
  • Don't block
Gender
Select your Gender
  • Male
  • Female
  • Others
Age
Select your Age Range
  • Under 18
  • 18 to 25
  • 26 to 35
  • 36 to 45
  • 45 to 55
  • 55+
`; } }); moreFromHtml += ` ${!/Mobi|Android/.test(navigator.userAgent) ? `
Prev
Next
` : "" } `; document.querySelector(".oi-carousel-block").innerHTML = moreFromHtml; } }) .catch((err) => { console.log("deeplink loading...", err); }); } if (!lotteryPageAdLoaded) { lotteryPageAdLoaded = true; if (["nagaland lottery", "kerala lottery", "lottery results", "assam lottery", "uae lottery", "punjab lottery", "sikkim lottery", "maharashtra lottery"].includes(document.head.dataset.category_name) && document.head.dataset.monetization == "false") { if (domainmiddle == "goodreturns") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "ecf07c14b507ef20f5bc289adb3b36bd", format: "iframe", height: 50, width: 320, params: {}, }), "https://engineerfoal.com/ecf07c14b507ef20f5bc289adb3b36bd/invoke.js", ); if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; } if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); } commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "5f45a40e971323b65893db3d0e63a14f", format: "iframe", height: 250, width: 300, params: {}, }), "https://engineerfoal.com/5f45a40e971323b65893db3d0e63a14f/invoke.js", ); } if (domainmiddle == "oneindia") { commonFunctions.loadAd( document.getElementById("bottom-sticky"), (atOptions = { key: "89758f0f4693df9548968afdb5a4d902", format: "iframe", height: 50, width: 320, params: {}, }), "https://engineerfoal.com/89758f0f4693df9548968afdb5a4d902/invoke.js", ); if (document.getElementById("stickymaincon")) { document.getElementById("stickymaincon").style.display = "block"; } if (document.getElementById("bottomAdWrapper")) { document.getElementById("bottomAdWrapper").style.setProperty("display", "block", "important"); } commonFunctions.loadAd( document.getElementById("are-slot-1"), (atOptions = { key: "ce146180f15d99aff15253386c46ae5a", format: "iframe", height: 250, width: 300, params: {}, }), "https://engineerfoal.com/ce146180f15d99aff15253386c46ae5a/invoke.js", ); } } } if (!indianSutrasAds) { let adSlots = document.querySelectorAll("[id^='are-slot-']"); indianSutrasAds = true; if (adSlots.length) { adSlots.forEach((element) => { if (window.location.hostname == "hindi.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "4dcfbc057e2ae8589f9bbd98b591c50a"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9699"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); } if (window.location.hostname == "tamil.indiansutras.com") { let nativeDiv = document.createElement("div"); nativeDiv.id = "fc2dc7d20994a777cfd5e6de734fe254"; const js = document.createElement("script"); js.type = "text/javascript"; js.src = "https://click.nativclick.com/loading/?handle=9698"; js.async = false; // force execution order nativeDiv.appendChild(js); element.appendChild(nativeDiv); } }); } } if (!designTemplateLoaded && ["tamil.oneindia.com"].includes(window.location.hostname)) { let designLoaded = parseInt(sessionStorage.getItem("design")) || 1; let deeplinkElements = document.querySelectorAll(".oi-recommended-articles-option1, .oi-recommended-articles-option2, .oi-recommended-articles-option3"); if (deeplinkElements.length > 0) { designTemplateLoaded = true; deeplinkElements.forEach((element) => { console.log("design", element); if (!element) return; element.classList.remove("oi-recommended-articles-option1", "oi-recommended-articles-option2", "oi-recommended-articles-option3"); element.classList.add(`oi-recommended-articles-option${designLoaded}`); const updateLink = () => { const link = element.querySelector("a"); if (!link) return false; link.dataset.uparam = `ref_source=${hostParam}-${langParam}&ref_medium=Article-Page&ref_campaign=Deep-Links-DMP-D${designLoaded}`; return true; }; // try updating immediately updateLink(); // observe only if link not yet present const observer = new MutationObserver(() => { if (updateLink()) { observer.disconnect(); } }); observer.observe(element, { childList: true, subtree: true }); }); // calculate next design let nextDesign = (designLoaded % 3) + 1; sessionStorage.setItem("design", nextDesign); } } }); if (window.location.hostname === "www.oneindia.com") { if (document.getElementById("shiPromo")) { function trackImpHealth(impUrl) { fetch(impUrl, { method: "GET", mode: "no-cors", }).catch(function (err) { console.log("Inside Imp error:", err); }); } document.getElementById("shiPromo").addEventListener("click", function (event) { event.preventDefault(); // Prevent default navigation let url = this.href; if (document.getElementById("dynamicanchor")) { document.getElementById("dynamicanchor").remove(); } var link = document.createElement("a"); link.target = "_blank"; link.id = "dynamicanchor"; link.href = url; document.body.appendChild(link); document.getElementById("dynamicanchor").click(); let healthImpUrl = "https://pubads.g.doubleclick.net/gampad/clk?id=6924557502&iu=/1008496/clicktracker-oi-1"; trackImpHealth(healthImpUrl); }); } function checkConsentAndTriggerClarity() { window.googlefc = window.googlefc || {}; window.googlefc.callbackQueue = window.googlefc.callbackQueue || []; window.googlefc.callbackQueue.push({ CONSENT_DATA_READY: () => __tcfapi("addEventListener", 2, (tcData, success) => { if (success) { const hasConsent = tcData.purpose.consents && tcData.purpose.consents[1]; if (hasConsent) { console.log("Consent granted for tracking"); window.clarity("consent"); } else { console.log("Consent not granted for tracking"); } } else { console.log("Unable to retrieve consent status or TC Data is invalid"); } }), }); } } /*---------------------------------------Chartbeat Code Starts--------------------------------------------------------*/ if (["filmibeat", "goodreturns", "oneindia"].includes(domainmiddle)) { chartbeatflag = 0; } if (chartbeatflag == 1) { if (typeof ga_author_name === "undefined") { var ga_author_name = ""; } if (typeof oi_category_name === "undefined") { var oi_category_name = ""; } var parts = window.location.hostname.split("."); var charbeatdomain = window.location.hostname; //parts.slice(-2).join('.'); (function () { var _sf_async_config = (window._sf_async_config = window._sf_async_config || {}); _sf_async_config.uid = 51426; _sf_async_config.domain = charbeatdomain; _sf_async_config.flickerControl = false; _sf_async_config.useCanonical = true; _sf_async_config.useCanonicalDomain = true; _sf_async_config.sections = oi_category_name; _sf_async_config.authors = ga_author_name; function loadChartbeat() { var e = document.createElement("script"); var n = document.getElementsByTagName("script")[0]; e.type = "text/javascript"; e.async = true; e.src = "//static.chartbeat.com/js/chartbeat.js"; n.parentNode.insertBefore(e, n); var script = document.createElement("script"); script.src = "//static.chartbeat.com/js/chartbeat_mab.js"; script.async = true; document.head.appendChild(script); window.removeEventListener("scroll", onScroll); } function onScroll() { loadChartbeat(); } window.addEventListener("scroll", onScroll); })(); } /*---------------------------------------Chartbeat Code Ends--------------------------------------------------------*/ /*---------------------------------------Refinary Code Starts--------------------------------------------------------*/ var refineryObj = { boldsky: "https://tags.refinery89.com/boldskycom.js", careerindia: "https://tags.refinery89.com/careerindiacom-aniview.js", mykhel: "https://tags.refinery89.com/mykhelcom-aniview.js", nativeplanet: "https://tags.refinery89.com/nativeplanetcom-aniview.js", }; var refineryHost = ["boldsky", "careerindia", "nativeplanet"]; var refineryflag = 0; if (refineryHost.includes(domainmiddle)) { function loadrefinery() { var refinery = document.createElement("script"); document.head.appendChild(refinery); refinery.async = true; refinery.src = refineryObj[domainmiddle]; sessionStorage.setItem("refinery_status", 1); } if (refiner_live) { window.addEventListener("scroll", function () { if (refineryflag == 0) { refineryflag = 1; loadrefinery(); } }); } } /*---------------------------------------Refinary Code Ends--------------------------------------------------------*/ /*---------------------------------------Momagic Code Starts--------------------------------------------------------*/ var moMagicHost = ["oneindia", "drivespark", "mykhel", "filmibeat", "goodreturns"]; function trackMoMagic(evnAct, evnLbl) { var curTimeStamp = Math.round(new Date().getTime() / 1000); var extraparam = "×tamp=" + curTimeStamp; if (/Mobi|Android/i.test(navigator.userAgent)) { var triggerDevice = "mobile"; //mobile/desktop } else { var triggerDevice = "desktop"; //mobile/desktop } var img = document.createElement("img"); img.src = "https://" + finalImagePath + "/images/tracker.jpg?tracker=oi-tracker-cms&device=" + triggerDevice + "&type=momagictracker&eventcategory=momagic&eventaction=" + evnAct + "&eventlebel=" + evnLbl + extraparam; img.setAttribute("id", "trackermomagicimage"); img.setAttribute("alt", "Momagic Tracker"); img.setAttribute("width", 1); img.setAttribute("height", 1); img.style.display = "none"; document.body.appendChild(img); } var trackerGA = "G-BGSPW5MRBP"; trueReachLoad = false; var backRef = documentRef; if (domainmiddle === "oneindia" || domainmiddle === "mykhel" || domainmiddle === "filmibeat" || domainmiddle === "drivespark" || domainmiddle === "goodreturns") { history.pushState({ page: "intermediate" }, "", ""); window.addEventListener("popstate", function (event) { if (location.hash === "" && trueReachLoad) { if (typeof showTruereachAd === "function") { if (backRef && backRef != "") { showTruereachAd(backRef); } else { showTruereachAd(); } var evtLbl = "en-oi"; if (langParam != "" && langParam != undefined && langParam != null) { var dynsrc = langParam + "-" + hostParam; evtLbl = dynsrc.toLowerCase(); } trackMoMagic("back-button", evtLbl); } } }); } if (moMagicHost.includes(domainmiddle)) { if (promoArticle == 0) { var evtLbl = "en-oi"; if (langParam != "" && langParam != undefined && langParam != null) { var dynsrc = langParam + "-" + hostParam; evtLbl = dynsrc.toLowerCase(); } if (/Mobi|Android/i.test(navigator.userAgent)) { if (momagicFlag === 1) { if (document.referrer.indexOf("oneindia.com") !== -1 || document.referrer.indexOf("filmibeat.com") !== -1 || document.referrer.indexOf("drivespark.com") !== -1 || document.referrer.indexOf("mykhel.com") !== -1 || document.referrer.indexOf("goodreturns.in") !== -1) { trackMoMagic("referral", evtLbl); } else { var moMagicSession = sessionStorage.getItem("moMagicSession"); if (moMagicSession) { trackMoMagic("referral", evtLbl); } else { sessionStorage.setItem("moMagicSession", 1); } } } } } } /*---------------------------------------Momagic Code Ends--------------------------------------------------------*/ /*---------------------------------------Affinity Matrix/Space Code Starts--------------------------------------------------------*/ function affinityMatrix() { var curhost = location.hostname; var curdom = curhost.split(".").slice(-2).join("."); var o = "script", s = top.document, a = s.createElement(o), m = s.getElementsByTagName(o)[0], d = new Date(), timestamp = "" + d.getDate() + d.getMonth() + d.getHours(); a.async = 1; a.src = "https://cdn4-hbs.affinitymatrix.com/hvrcnf/" + curdom + "/" + timestamp + "/index?t=" + timestamp; m?.parentNode?.insertBefore(a, m); } if ("goodreturns" == domainmiddle) { if (/Mobi|Android/i.test(navigator.userAgent)) { affMatrix = 1; } } if (affMatrix == 1) { if (/Mobi|Android/i.test(navigator.userAgent)) { if (trackpagetype != "home") { var affinityInserted = false; window.addEventListener("scroll", function () { if (!affinityInserted) { affinityMatrix(); affinityInserted = true; } }); } } else { if (trackpagetype != "home") { var affinityInserted = false; window.addEventListener("scroll", function () { if (!affinityInserted) { affinityMatrix(); affinityInserted = true; } }); } } } /*---------------------------------------Affinity Matrix/Space Code Ends--------------------------------------------------------*/ /*---------------------------------------Vidverto /Reward Video Code Starts--------------------------------------------------------*/ function loadVidvertoScript(elementId, mountId) { if (vidvertoFlag == 1) { window.addEventListener("scroll", function loadScriptOnScroll() { var script = document.getElementById(elementId); if (!script) { var a = document.createElement("script"); a.id = elementId; a.src = "https://ad.vidverto.io/vidverto/js/aries/v1/invocation.js"; a.setAttribute("fetchpriority", "high"); var r = window.top; document.head.appendChild(a); if (window.self !== window.top) { window.frameElement.style.cssText = "width:0px!important;height:0px!important;"; } r.aries = r.aries || {}; r.aries.v1 = r.aries.v1 || { commands: [] }; var c = r.aries.v1; c.commands.push(function () { var d = document.getElementById(elementId); d.setAttribute("id", d.getAttribute("id") + new Date().getTime()); var t = window.frameElement || d; c.mount(mountId, t, { width: 1, height: 1 }); }); window.removeEventListener("scroll", loadScriptOnScroll); } }); } } /*if (domainmiddle === 'gizbot') { loadVidvertoScript('_vidverto-6d7f83b216033802179a1489c7ef0112', '12320'); */ /*---------------------------------------Vidverto/Reward Video Code Ends--------------------------------------------------------*/ /*---------------------------------------Aniview Code Starts--------------------------------------------------------*/ /*if(document.querySelector('#are-slot-3')){ document.querySelector('#are-slot-3').classList.remove('oiad', 'oi-axt', 'oiadv', 'dynamic-slot'); }*/ /*---------------------------------------Aniview Code Ends--------------------------------------------------------*/ /*---------------------------------------Clarity Code Ends--------------------------------------------------------*/ // Assuming domainmiddle and langParam are dynamically determined if (!domainmiddle || !langParam || domainmiddle.trim() === "" || langParam.trim() === "") { console.error("Error: domainmiddle or langParam is undefined, null, or blank. Script will not execute."); } else { var claritylangParam = langParam.toLowerCase(); let clarityFlag = 0; let clarityVersion = "1.0.3"; // Check if Clarity has already been triggered in this session if (!sessionStorage.getItem("clarityLoaded")) { if (["oneindia", "filmibeat", "goodreturns"].includes(domainmiddle)) { clarityFlag = 1; } window.addEventListener("scroll", function () { if (clarityFlag === 0) { clarityFlag = 1; fetch("/common/clarity-tracking.json?v=" + clarityVersion) .then((response) => response.json()) .then((data) => { const clarityId = data[domainmiddle]?.[claritylangParam]; if (!clarityId) { console.error("Clarity ID not found for the given domain and language!"); return; } (function (c, l, a, r, i, t, y) { c[a] = c[a] || function () { (c[a].q = c[a].q || []).push(arguments); }; t = l.createElement(r); t.async = 1; t.src = "https://www.clarity.ms/tag/" + i; y = l.getElementsByTagName(r)[0]; y.parentNode.insertBefore(t, y); })(window, document, "clarity", "script", clarityId); if (window.location.hostname === "www.oneindia.com") { if (window.googletag && googletag.apiReady) { checkConsentAndTriggerClarity(); } } // Mark Clarity as loaded in this session sessionStorage.setItem("clarityLoaded", "true"); }) .catch((error) => { console.error("Error loading the clarify-tracking.json file:", error); }); } }); } } /*---------------------------------------Clarity Code Ends--------------------------------------------------------*/ /*---------------------------------------VOX/Adsense Backfil Code Starts--------------------------------------------------------*/ if (domainmiddle == "mykhel") { if (document.querySelector(".oi-footer-bottom-ad-close")) { document.querySelector(".oi-footer-bottom-ad-close").style.display = "none"; } } var adsenseObj = { oneindia: 6500213837, boldsky: 5451350884, gizbot: 8951063454, drivespark: 2314299074, filmibeat: 5203390138, goodreturns: 3315593397, careerindia: 2385655101, mykhel: 2194083414, nativeplanet: 7446410097 }; var adsenseSlot = adsenseObj[domainmiddle]; var inImageCssWeb = ""; var inImageCssMobi = ""; var inImageHtmlWeb = ''; var inImageHtmlMobi = ''; var finalHtmlCss = ""; if (/Mobi|Android/i.test(navigator.userAgent)) { finalHtmlCss = inImageCssMobi + inImageHtmlMobi; } else { finalHtmlCss = inImageCssWeb + inImageHtmlWeb; } function loadAdgInImgAd() { var adginimgdiv = document.createElement("div"); adginimgdiv.id = "adgebraInImgAd"; adginimgdiv.style.minWidth = "600px"; adginimgdiv.style.minHeight = "90px"; adginimgdiv.style.position = "absolute"; adginimgdiv.style.bottom = "0"; var inImgPlacment = document.querySelector(".big_center_img") || document.querySelector(".big-center-img"); if (inImgPlacment) { inImgPlacment.appendChild(adginimgdiv); } // Define and display the fallback ad in the new element googletag.cmd.push(function () { var adgslot = googletag.defineSlot("/1008496/popup-thats-cricket-out-of-page", [1, 1], "adgebraInImgAd").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); googletag.display("adgebraInImgAd"); googletag.pubads().refresh([adgslot]); }); } function loadAdgInImgAdMobi() { var adginimgdiv = document.createElement("div"); adginimgdiv.id = "adgebraInImgAd"; adginimgdiv.style.minWidth = "320px"; adginimgdiv.style.minHeight = "50px"; adginimgdiv.style.position = "absolute"; adginimgdiv.style.bottom = "0"; var inImgPlacment = document.querySelector(".big-center-img") || document.querySelector(".big_center_img"); if (inImgPlacment) { inImgPlacment.appendChild(adginimgdiv); } // Define and display the fallback ad in the new element googletag.cmd.push(function () { var adgslot = googletag.defineSlot("/1008496/popup-thats-cricket-out-of-page", [1, 1], "adgebraInImgAd").addService(googletag.pubads()); googletag.pubads().enableSingleRequest(); googletag.pubads().enableAsyncRendering(); googletag.enableServices(); googletag.display("adgebraInImgAd"); googletag.pubads().refresh([adgslot]); }); } var backfillWidgets = { voxWidget: function (idx, elem) { if (liteflag == 0) { console.log("adsense/vox", document.getElementById("oi-vox")); if (document.getElementById("oi-vox")) { var sspflag = 0; if (sspflag == 0) { console.log("adsense/vox", sspflag); if (typeof window._tx === "undefined") { var s = document.createElement("script"); s.type = "text/javascript"; s.async = true; s.src = "https://st.hbrd.io/ssp.js?t=" + new Date().getTime(); (document.getElementsByTagName("head")[0] || document.getElementsByTagName("body")[0]).appendChild(s); } window._tx = window._tx || {}; window._tx.cmds = window._tx.cmds || []; console.log("adsense/vox", window._tx, window._tx.cmds); window._tx.cmds.push(function () { window._tx.init({ onSuccessInImageLoad: function (data) { console.log("adsense/vox", "vox"); console.log("onSuccessInImageLoad", data); }, onFailInImageLoad: function (data) { console.log("adsense/vox", "addsense"); if (backfillorder == 2) { backfillWidgets.adsenseWidget(finalHtmlCss, 2, idx, elem); /*if (domainmiddle === 'oneindia') { if (/Mobi|Android/i.test(navigator.userAgent)) { backfillWidgets.adsenseWidget(finalHtmlCss,2,idx,elem); }else{ loadAdgInImgAd(); } }*/ } // console.log("onFailInImageLoad", data); }, }); }); } /* window.addEventListener( "scroll", function () { }, false ); */ } } }, adsenseWidget: function (dynamicHtmlCSs, flg, idx, elem) { console.log("adsense/vox", dynamicHtmlCSs, flg, idx, elem); var scriptElement = document.createElement("script"); scriptElement.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6601380052549923"; scriptElement.async = true; scriptElement.crossOrigin = "anonymous"; document.head.appendChild(scriptElement); var adsenseDiv = document.createElement("div"); adsenseDiv.id = "oiInImg"; adsenseDiv.classList.add("oiInImg"); adsenseDiv.innerHTML = dynamicHtmlCSs; elem.insertAdjacentElement("afterend", adsenseDiv); (adsbygoogle = window.adsbygoogle || []).push({}); var adsenseInt = setInterval(function () { var oiInImgElems = document.querySelectorAll(".oiInImg"); if (oiInImgElems.length > 0) { var oiInImgWrapperElems = document.querySelectorAll(".oiInImg ins"); oiInImgWrapperElems.forEach(function (wrapperElem) { var filledStatus = wrapperElem.getAttribute("data-ad-status"); if (filledStatus === "filled") { oiInImgElems.forEach(function (imgElem) { imgElem.style.display = "block"; }); var imgCloseBtnElem = document.querySelector("#img-close-btn"); imgCloseBtnElem.style.opacity = "1"; imgCloseBtnElem.addEventListener("click", function () { oiInImgElems.forEach(function (imgElem) { imgElem.innerHTML = ""; }); }); var imgCloseBtns = document.querySelectorAll(".img-close-btn"); imgCloseBtns.forEach(function (imgCloseBtn) { imgCloseBtn.style.opacity = "1"; imgCloseBtn.addEventListener("click", function () { oiInImgElems.forEach(function (imgElem) { imgElem.innerHTML = ""; }); }); }); clearInterval(adsenseInt); } else if (filledStatus === "unfilled") { oiInImgElems.forEach(function (imgElem) { imgElem.style.display = "none"; }); if (backfillorder == 1 && flg == 1) { backfillWidgets.voxWidget(idx, elem); } clearInterval(adsenseInt); } }); } }, 500); }, }; if (host.indexOf("bengali") > -1) { backfillorder = 2; } var voxloadflag = 0; var voxFlag = 1; var sspflagload = 0; var gccflag = 0; var gccflagin = 0; window.addEventListener("scroll", function () { if (sspflagload == 0) { sspflagload = 1; var con_code = ""; var city_code = ""; var gcccountryCodes = ["BH", "KW", "OM", "QA", "SA", "AE"]; var gcccountryCodesInd = ["IN"]; var countryInt; countryInt = setInterval(function () { if (document.body) { var gapiDetails = localStorage.getItem("userlocation"); if (gapiDetails) { clearInterval(countryInt); var tmpgapijson = JSON.stringify(gapiDetails); var jdata = gapiDetails; jdata = JSON.parse(jdata); con_code = jdata.country_code; city_code = jdata.city; if (gcccountryCodes.includes(con_code)) { //if(city_code=='Bhubaneswar'){ gccflag = 112345; //} } if (!gcccountryCodesInd.includes(con_code)) { gccflagin = 1; backfillorder = 1; } if (document.querySelector(".image_listical")) { var imageelem = document.querySelectorAll(".image_listical"); var imglen = imageelem.length; if (imglen > 1) { voxloadflag = 1; } if (imglen > 0) { for (let g = 0; g < imglen; g++) { if (g == 0) { imageelem[0].setAttribute("data-adgdisplay", false); if (backfillorder == 1 || backfillorder == 3) { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { console.log("adsense/vox", g, imglen); backfillWidgets.voxWidget(g, imageelem[g]); } } } else { if (g > 0) { if (domainmiddle == "boldsky" || domainmiddle == "goodreturns" || domainmiddle == "oneindia" || domainmiddle == "filmibeat") { if (g % 2 == 0) { imageelem[g].setAttribute("data-adgdisplay", false); if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { if (domainmiddle == "goodreturns") { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else { backfillWidgets.voxWidget(g, imageelem[g]); } } } } } else { if (g % 2 == 1) { imageelem[g].setAttribute("data-adgdisplay", false); if (backfillorder == 2 || backfillorder == 4) { if (gccflag == 1) { } else { if (domainmiddle == "goodreturns") { backfillWidgets.adsenseWidget(finalHtmlCss, 1, g, imageelem[0]); } else { backfillWidgets.voxWidget(g, imageelem[g]); } } } } } } } } } } } } }, 1000); setTimeout(function () { clearInterval(countryInt); }, 10000); } }); if (document.querySelector(".myimg")) { var imageelem = document.querySelectorAll(".myimg"); var imglen = imageelem.length; if (imglen > 0) { for (g = 0; g < imglen; g++) { if (g == 0) { imageelem[0].setAttribute("data-adgdisplay", false); if (backfillorder == 1) { backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } else if (backfillorder == 2) { backfillWidgets.voxWidget(g, imageelem[g]); } } else if (g == 2) { imageelem[2].setAttribute("data-adgdisplay", false); backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } else if (g == 4) { imageelem[2].setAttribute("data-adgdisplay", false); backfillWidgets.adsenseWidget(finalHtmlCss, 2, g, imageelem[g]); } } } } /*---------------------------------------VOX/Adsense Backfil Code Ends--------------------------------------------------------*/ /*---------------------------------------Adsense in are-slot-4----------------------------------------------------------------*/ function executeAdSenseOnScroll() { const targetDiv = document.getElementById("are-slot-5"); if (!targetDiv) { console.error("Ad container div not found"); return; } targetDiv.innerHTML = ""; // Clear the content first const adScript = document.createElement("script"); adScript.async = true; adScript.src = "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6601380052549923"; adScript.setAttribute("crossorigin", "anonymous"); document.head.appendChild(adScript); const adIns = document.createElement("ins"); adIns.className = "adsbygoogle"; adIns.style.display = "block"; adIns.setAttribute("data-ad-client", "ca-pub-6601380052549923"); adIns.setAttribute("data-ad-slot", "3671027678"); adIns.setAttribute("data-ad-format", "auto"); adIns.setAttribute("data-full-width-responsive", "true"); targetDiv.appendChild(adIns); adScript.onload = function () { try { (adsbygoogle = window.adsbygoogle || []).push({}); } catch (e) { console.error("AdSense initialization error:", e); } }; } // Add scroll event listener to execute AdSense code /*if(domainmiddle=='filmibeat' || domainmiddle=='mykhel' || domainmiddle=='drivespark' || domainmiddle=='gizbot' || domainmiddle=='nativeplanet' || domainmiddle=='boldsky'){ if (/Mobi|Android/i.test(navigator.userAgent)) { var adsenseFlag=0; window.addEventListener('scroll', () => { var targetContainerId = 'are-slot-5'; const targetDiv = document.getElementById('are-slot-5'); if (targetDiv) { if(adsenseFlag==0){ adsenseFlag=1; if(targetContainerId=='are-slot-5'){ targetDiv.innerHTML=''; document.getElementById(targetContainerId).classList.remove('dynamic-slot'); loadAdScriptCommon(); (function(g,o){g[o]=g[o]||function(){(g[o]['q']=g[o]['q']||[]).push(arguments)},g[o]['t']=1*new Date})(window,'_googCsa'); afsAdCallCommon(targetContainerId); } } } }); } }*/ if ([].includes(window.location.hostname)) { if (googletag.apiReady) { googletag.cmd.push(function () { const key = "topic"; // full domain + path let newValue = window.location.hostname + window.location.pathname; // get last part of the pathname (slug or ID) let secondPathName = window.location.pathname.split("/").at(-1) || ""; // Try to extract numeric article ID let articleId = null; let match = secondPathName.match(/(\d+)(?=\.html$|$)/); if (match) { articleId = match[1]; } // ---- Helper: sanitize + trim slug ---- function safeSlug(str) { // remove extension like .html str = str.replace(/\.[^/.]+$/, ""); // keep only letters, numbers, dash, underscore, dot str = str.replace(/[^a-zA-Z0-9._-]/g, ""); // truncate to 40 chars (GAM limit) return str.substring(0, 40) || "na"; } // Fallback: generate safe truncated slug if no numeric ID if (!articleId) { articleId = safeSlug(secondPathName); } // clear any previous targeting googletag.pubads().clearTargeting("host"); googletag.pubads().clearTargeting("curl"); // set targeting googletag.setConfig({ targeting: { prpm: [articleId], // safe 40-char slug/ID [key]: [newValue], }, }); // log what’s being set const targeting = {}; googletag .pubads() .getTargetingKeys() .forEach((key) => { targeting[key] = googletag.pubads().getTargeting(key); }); console.log("Global targeting:", targeting); }); } } function dynamicPerformance(divid) { if (window.googletag && googletag.apiReady && typeof pbjs != "undefined") { var PREBID_TIMEOUT = 1200; var FAILSAFE_TIMEOUT = 3000; googletag.cmd.push(function () { googletag.pubads().disableInitialLoad(); }); var pbjsrss = pbjs || {}; pbjsrss.que = pbjs.que || []; var target_words_rss = []; var getUrlDetailsRss = { cleanArray: function (item) { var tempArr = []; for (var i = 0; i < item.length; i++) { if (item[i] !== undefined && item[i] != "") { tempArr.push(item[i]); } } return tempArr; }, createArrayFromUrl: function () { target_words_rss = target_words_rss.concat(window.location.hostname); var url_host = window.location.hostname.split("."); target_words_rss = target_words_rss.concat(url_host); var url_path = window.location.pathname.replace(".html", "").split("/"); target_words_rss = target_words_rss.concat(url_path); var pathArrLen = url_path.length; var subUrlPath = url_path[pathArrLen - 1].split("-"); target_words_rss = target_words_rss.concat(subUrlPath); if (["www.oneindia.com", "tamil.oneindia.com"].includes(window.location.hostname)) { let urlWithoutHttps = window.location.href.replace("https://", ""); target_words_rss = target_words_rss.concat(urlWithoutHttps); } console.log("target_words_rss_1", target_words_rss); target_words_rss = getUrlDetailsRss.cleanArray(target_words_rss); console.log("target_words_rss_2", target_words_rss); }, }; getUrlDetailsRss.createArrayFromUrl(); try { googletag.cmd.push(function () { slot[850] = googletag.defineSlot("/1008496/Performance", [[300, 250], [336, 280], [320, 480], [320, 250], [320, 50], "fluid", [320, 100]], divid).addService(googletag.pubads()); googletag.pubads().setTargeting("host", window.location.hostname); googletag.pubads().setTargeting("curl", window.location.href); googletag.pubads().setTargeting("topic", target_words_rss); if (domainmiddle == "oneindia") { if (langParam == "or") { googletag.pubads().setTargeting("domain", "www.oneindia.com"); } else { googletag.pubads().setTargeting("domain", window.location.hostname); } } else if (domainmiddle == "goodreturns") { var domHost = domainmiddle + ".in"; googletag.pubads().setTargeting("domain", domHost); } else { var domHost = domainmiddle + ".com"; googletag.pubads().setTargeting("domain", domHost); } googletag.pubads().setTargeting("lang", langParam); googletag.pubads().enableSingleRequest(); googletag.enableServices(); googletag.display(divid); googletag.pubads().refresh([slot[850]]); }); } catch (err) { console.log("Home Page Ad : " + err); } } } /* if (domainmiddle == "filmibeat" || domainmiddle == "mykhel" || domainmiddle == "drivespark" || domainmiddle == "gizbot" || domainmiddle == "nativeplanet" || domainmiddle == "boldsky") { if (/Mobi|Android/i.test(navigator.userAgent)) { var adsenseFlag=0; window.addEventListener('scroll', () => { var targetContainerId = 'are-slot-5'; const targetDiv = document.getElementById('are-slot-5'); if (targetDiv) { if(adsenseFlag==0){ adsenseFlag=1; targetDiv.classList.remove('dynamic-slot'); dynamicPerformance('are-slot-5'); } } }); } } */ /*---------------------------------------Adsense in are-slot-4----------------------------------------------------------------*/ -->
We use cookies to ensure that we give you the best experience on our website. This includes cookies from third party social media websites and ad networks. Such third party cookies may track your use on Oneindia sites for better rendering. Our partners use cookies to ensure we show you advertising that is relevant to you. If you continue without changing your settings, we'll assume that you are happy to receive all cookies on Oneindia website. However, you can change your cookie settings at any time. Learn more