Home icon

Customize ad workflows with AWS Elemental MediaTailor Monetization Functions

Media Blog



This article introduces AWS Elemental MediaTailor Monetization Functions, enabling custom ad-insertion workflows using JSONata expressions without external infrastructure.

  • Run custom business logic at defined ad-insertion workflow stages directly within MediaTailor
  • Three function types: CUSTOM_OUTPUT for data transformation, HTTP_REQUEST for external calls, SEQUENTIAL_EXECUTOR for chained steps
  • Two lifecycle hooks: PRE_SESSION_INITIALIZATION and PRE_ADS_REQUEST for different workflow stages
  • Fetch identity tokens, rewrite ad server URLs, add custom headers, and apply conditional logic
  • Walkthrough example: Integrate LiveRamp identity enrichment to personalize ad targeting
  • CloudWatch metrics and logs provide observability for function execution and errors
  • 2-second execution budget per hook; HTTP responses limited to 2,000 characters
  • Pricing: $0.0001 per hook invocation; available in all MediaTailor regions

MediaTailor Monetization Functions simplifies ad workflow customization by eliminating separate infrastructure deployment while maintaining performance and observability.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 7
2026
AWS Elemental MediaTailor launches Monetization Functions
Jul 27
2026
AWS Elemental MediaTailor adds configurable ad timeout and concurrency controls for improved ad fill and faster startup
Feb 6
2025
AWS Elemental MediaTailor
Apr 4
2025
Announcing new AWS Elemental MediaTailor pricing model with lower VOD ad insertion costs

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.