AWS for M&E Blog

How Sony Pictures Networks India Delivered Personalized Ad Insertion at Scale on AWS

Sony Pictures Network India (SPNI) runs Sony LIV, which is one of the leading popular over-the-top (OTT) video-streaming platform in India. The content offering includes original and acquired TV shows and films, alongside live sporting events. SPNI secured the media rights for the Asia Cricket Council (ACC) from 2025 to 2031, making the Asia Cup Cricket 2025 their first major tournament and a high-stakes debut. During this inaugural tournament, Sony LIV delivered personalized advertisements at scale to a peak of over 10 million concurrent viewers, serving billions of ads across 19 matches. Delivering personalized ad experiences during large-scale live sports streaming requires a highly resilient, latency optimized server-side ad insertion (SSAI) architecture and SPNI achieved it by leveraging AWS Elemental MediaTailor integrated with Google Ad Manager (GAM) as the Ad Decision Server (ADS) in a multi-CDN environment including Amazon CloudFront, maintaining viewer experience and ad delivery at scale throughout the tournament.

The AWS Unified Operations for Media team supported SPNI throughout this journey, working alongside the media specialist team in India. The team worked as an extension of SPNI’s technical team, providing strategic architectural guidance, conducting workflow reviews, coordinating cross-team integrations with partners such as Akamai and GAM, and delivering real-time support during live streaming. This partnership ensured SPNI handled the unprecedented scale and complexity of live cricket streaming with personalized advertising.

Objective

Live sports broadcasts present one of the most complex streaming environments like high concurrency, unpredictable viewership spikes, and the need for flawless ad transitions. For this cricket tournament, SPNI wanted to

  • Deliver personalized ads in real time for every viewer based on device types, languages and other Ad campaign criteria.
  • Maintain broadcast-grade reliability and minimal-latency during live play.
  • Seamlessly integrate with their existing Google Ad Manager (GAM) for ad decisioning and impression reporting.
  • Handle multi-CDN distribution across India efficiently to ensure resilient global delivery.
  • Deliver personalized ads across Android, iOS, and Connected TV (CTV) devices

“Granular playback session level capabilities, combined with ad break type management and MediaTailor’s pre-fetch driven traffic shaping, enable just-in-time strategies that maximize concurrent personalized ad insertion at high scale during live Asia Cup matches, while aligning with Ad Decision Server (ADS) throughput and performance characteristics.”Mukund Acharya, Chief Technology Officer, Sony Pictures Networks India (SPNI).

Architectural Overview

The live OTT workflow was architected as a multi-CDN, AWS Elemental media services based SSAI streaming pipeline, designed for scale, personalization, and resiliency:

  • Live Ingest & Encoding with AWS Elemental MediaLive
    • Multiple live inputs were ingested and encoded using MediaLive into adaptive bitrate (ABR) HLS renditions.
    • The encoded outputs were pushed to 3rd party Origin endpoints and AWS Elemental MediaPackage, which handled content origination.
  • Personalized Ad Insertion with AWS Elemental MediaTailor:
    • MediaTailor acted as the SSAI layer, dynamically generating per-session manifests with ad insertions based on user attributes.
    • Integration with Google Ad Manager provided real-time ad decisions via VAST responses.
    • MediaTailor’s PING feature enabled asynchronous ad tracking, ensuring accurate impression reporting without affecting playback or performance.
    • Client SDK on the player side ensured consistent playback and client-side ad beaconing for some specified scenarios.
  • Content Delivery with CloudFront and multiple 3rd Party CDNs
    • Final HLS manifests and segments were distributed across multiple CDNs to handle regional traffic spikes and provide low-latency delivery.
    • MediaTailor’s session-based manifest generation ensured that personalization persisted across CDN edges without cache contamination.

OTT architectural overview

Key AWS Elemental MediaTailor Features That Enabled Scale

  • Pre-Fetch Optimization: MediaTailor’s pre-fetch capability was critical in reducing request timeouts and throttling issue at the Ad Decision Server (ADS) during high viewership periods. By resolving ad decisions in advance and keeping those available in MediaTailor before start of each ad-break, SPNI achieved improved fill-rate. The configuration flexibility enabled SPNI to define multiple ad-break types (like, end of over, fall of wicket, drinks break) with distinct pre-fetch strategies for each one, including customizable pre-fetch start points, duration windows, and consumption periods. This distributed ad requests evenly over a defined time duration while aligning with ADS RPS limits and completing ad creative transcoding before the start of ad-break. This approach prevented runtime bottlenecks at ad-break start points by protecting ADS from being overwhelmed by sudden concurrent request spikes. the distributed load model maintained healthy Ad Decision Server performance while delivering improved fill rates and handling millions of personalized ad requests at scale.
  • PING-Based Ad Beaconing for Accurate Impression Tracking: MediaTailor’s Player Impression Notification Gateway (PING) delivered enterprise-grade ad impression tracking at scale throughout the tournament. Integrated natively within AWS Elemental MediaTailor, the PING framework provided SPNI with the architectural flexibility to deploy a hybrid reporting strategy that intelligently balanced client-side and server-side tracking based on specific operational and measurement needs. Through asynchronous player-generated pings, PING guaranteed dependable ad impression reporting even in challenging network environments while simultaneously minimizing throttling pressure on advertising decision servers. The decoupled architecture ensured tracking calls operated independently from the playback pipeline, eliminating any potential interference with stream continuity and safeguarding the viewer experience. This asynchronous approach also significantly reduced client-side computational overhead compared to conventional synchronous tracking methods. Operating at tournament scale, this architecture successfully and reliably processed billions of tracking beacons to ensure expected ad monetization revenue for SPNI.
  • VisualOn Client SDK Integration: The integration of the VisualOn Client SDK with AWS Elemental MediaTailor session manifests and tracking endpoints played a key role in ensuring seamless SSAI-based playback across platforms. The SDK enabled robust client-side beaconing and ad tracking while maintaining stream continuity during ad insertions, which is critical in server-side ad insertion scenarios. In addition, the SDK reported detailed client-side playback metrics, allowing the platform to correlate ad impression data with player Quality of Experience (QoE) indicators. This end-to-end visibility strengthened both monetization analytics and playback performance monitoring at scale.
  • Multi-CDN Delivery Architecture Traffic was balanced across multiple CDN providers including CloudFront as one of the prime CDN provider for redundancy and performance optimization. MediaTailor’s stateless, manifest-based personalization model allowed each CDN to serve cached segments while MediaTailor dynamically generated personalized manifests per user session. This approach enabled horizontal scaling of edge delivery without impacting personalization fidelity or increasing origin load.
  • AWS Elemental MediaTailor integrated directly with Google Ad Manager (GAM) over VAST to request and assemble personalized ad pods for each viewer session. This integration combined MediaTailor’s intelligent pre-fetch capabilities with GAM’s ad targeting engine, enabling precise, user-level ad selection based on device type and behavioral segments. During live events, the workflow supported dynamic creative insertion, allowing campaigns to adapt in real time to audience targeting parameters. Additionally, the integration provided real-time visibility into fill-rate performance and campaign pacing, ensuring optimal inventory utilization while maintaining monetization efficiency at scale.
  • By pre-transcoding ad creatives to align with the primary content’s encoding specifications, SPNI achieved seamless transitions between live main content and ads, eliminating playback glitches and minimising buffering incidents to deliver a consistently smooth viewing experience at scale for millions of subscribers.

AWS Unified Operations for Media: The Strategic Partner Behind the Scenes

“AWS Unified Operations for Media along with Solution Architects team worked as a true extension of our team during the Asia Cup. Their designated media streaming experts reviewed our end-to-end workflow and made recommendations to optimize our media pipeline from encoding, ad insertion to delivery. The proactive monitoring, real-time guidance during live matches, and seamless coordination across our partners gave us confidence to deliver flawless experiences to over 10 million concurrent viewers while protecting our advertising revenue. This strategic partnership was instrumental in achieving the scale.” – Mukund Acharya, Chief Technology Office, SPNI, Sony Pictures Networks India

The AWS Unified Operations for Media team provided architectural guidance and live operational support to successfully deliver high viewer concurrency cricket streaming event:

Enhance Streaming Quality with Designated Media Experts: A designated team of media specialists—including Delivery Manager, Media, Monetization, CloudFront, and Live Event Engineers—worked in tandem with SPNI’s team reviewing control plane, media plane, and data plane architecture, delivering context-aware guidance and real-time support throughout the engagement. The team made recommendations to enhance video quality, improve latency performance and resiliency across all Media Services and CloudFront configurations, ensuring broadcast-grade viewer experiences.

Optimized Ad Performance: The Unified Operations for Media team worked very closely with MediaTailor team to validate the performance of the service at scale and collaborated with external partners — Akamai and Google Ad Manager— to optimize workflow for latency, ad fill rate, and ad impression success rate for the high-stake live events.

Operational Excellence Delivered: The Unified Operations for Media team developed joint runbooks with SPNI’s operations team and through load testing, proactive monitoring, and live event support, it ensured SPNI achieved operational readiness—delivering flawless streaming experiences throughout the 19 days of the tournament.

Benefits/ Outcome:

For SPNI, the result was a smooth, monetizable live-streaming distribution at scale. The workflow maintained broadcast-grade latency with seamless mid-roll transitions and stable ad stitching under high concurrency conditions. This deployment redefined what’s possible in live OTT advertising, setting a new benchmark for SPNI’s streaming capabilities.

  • Increased Ad Revenue: Through real-time personalization and better fill rates.
  • Reduce Ad Revenue Risk: MediaTailor PING feature allows beacon retries for up to an hour to protect ad revenue allowing recovery time for a downstream ADS
  • Improved Viewer Experience: Smooth ad transitions, zero buffering.
  • Scalable Global Delivery: Multi-CDN architecture with MediaTailor handled regional peaks effortlessly.
  • Operational Simplicity: A managed, serverless architecture reduced complexity and cost.

Lessons Learned

Based on operational experience of live SSAI workloads for high-concurrency Asia cup event, the following insights were observed:

  • Pre-Fetching ad decisions significantly reduces latency at scale; without it, live SSAI can easily bottleneck under ad server’s RPS limitations.
  • PING beacons are more reliable than synchronous client tracking for maintaining accurate metrics during high concurrency live sports events which causes network congestion at ADS.
  • A multi-CDN setup provides both redundancy and geo-optimization benefits without compromising personalization.
  • Close coordination between the player SDK, MediaTailor configuration, and ad server logic is essential for large-scale SSAI success.

“AWS is proud to partner with SPNI in transforming how live sports streaming drives business value. Elemental MediaServices which includes MediaTailor in SPNI’s Asia Cup deployment achieved exceptional monetization at scale—maximizing ad fill rates while maintaining premium viewing experiences. AWS Elemental MediaTailor – fully managed, serverless approach along with pre-fetch feature, fundamentally changes the economics of large-scale live sports advertising that aligns with the unpredictable nature of live events”. – Abhijeet Pandey, Head of Core Services, AWS India

Conclusion

This deployment demonstrates how AWS Elemental MediaTailor, combined with AWS Elemental MediaLive, 3rd Party Origin server, AWS Elemental MediaPackage, and multi-CDN delivery, can support live streaming of large live sporting events with real-time ad personalization. By leveraging Pre-Fetch, PING tracking, and client-side SDK integration, the customer achieved broadcast-quality ad delivery at unprecedented scale for concurrent users with precision and reliability.

Ready to Scale Your Streaming Workload on AWS?

Contact AWS today to learn how MediaTailor and Unified Operations for Media can help you deliver personalized ad experiences that engage viewers and drive revenue growth.

Learn more about AWS Elemental MediaTailor and how it enables personalized streaming experiences at scale.

Learn more about Unified Operations for Media and how it supports seamless content delivery at any scale.

Deepak Das

Deepak Das

Deepak Das is a Sr. Edge Services Specialist SA at AWS working with customers in India & SAARC region to build and optimize media workflows in the cloud using AWS Elemental Media Services.

Avinash Khurana

Avinash Khurana

Avinash Khurana is a Senior Enterprise Support Manager for Unified Operations for Media at AWS, where he leads support for global media and entertainment customers building streaming platforms with personalized ad insertion at scale. He co-authored the Streaming Media Lens of the AWS Well-Architected Framework and holds three patents in media streaming technologies. Avinash has over 9 years of industry experience and has provided architectural and operational guidance for some of the world's largest streaming events on AWS

Rahul Sureka

Rahul Sureka

Rahul Sureka is an Enterprise Solution Architect at AWS based out of India. Rahul has more than 22 years of experience in architecting and leading large business transformation programs across multiple industry segments. His areas of interests are AI/ML, Data and Analytics and Streaming applications