
Automate Advertising Campaigns Creation with Agents for Amazon Bedrock
This post demonstrates how to automate advertising campaign creation using Agents for Amazon Bedrock. A serverless solution that transforms manual campaign setup processes into an automated workflow, allowing marketing teams to launch campaigns across multiple platforms by simply uploading a media plan document.
Ghandi Nader
Amazon Employee
Published Jan 30, 2025
As a Solutions Architect working with advertising agencies and marketing teams, I frequently encountered a common challenge: the manual and time-consuming process of creating and managing advertising campaigns across multiple platforms. Marketing operations teams often spend countless hours configuring campaigns, leading to potential human errors and delayed campaign launches. This inefficiency inspired me to develop an automated solution leveraging AWS services, particularly Amazon Bedrock and its Agents capability.
In today's digital advertising landscape, marketing teams manage numerous campaigns across various platforms like Meta, Google Ads, and others. Each campaign requires specific configurations, including budget allocation, targeting parameters, and performance metrics like CPM (Cost Per Mille) and CPC (Cost Per Click). The manual creation of these campaigns is not only time-consuming but also prone to errors, potentially affecting campaign performance and ROI.
Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) through a single API. The Agents for Amazon Bedrock takes this capability further by enabling the creation of AI-powered applications that can understand user requirements and execute complex tasks through orchestrated actions.
This combination provides the perfect foundation for automating advertising campaign creation by:
- Interpreting campaign requirements from structured data
- Validating campaign parameters
- Executing campaign creation across different platforms
- Providing status updates to relevant stakeholders
Let's dive into how this solution works:

The solution utilizes several AWS services working in harmony:
- Amazon S3 for media plan storage
- AWS Lambda for processing and orchestration
- Amazon Bedrock and its Agents for intelligent task execution
- Amazon SES for notification delivery
- Media Plan Upload
- Advertisers create a media plan document in CSV format
- The document contains campaign details including scope, budget, and performance metrics
- The file is uploaded to a designated Amazon S3 bucket
- Automated Processing Trigger
- An AWS Lambda function is automatically triggered when the media plan is uploaded
- The function validates the document format and processes the campaign data
- It then invokes the appropriate Amazon Bedrock Agent
- Intelligent Campaign Processing
- Amazon Bedrock receives the campaign details
- The Foundational Model interprets the requirements and validates the action needed
- Based on the interpretation, it selects the appropriate action group
- Campaign Creation Execution
- The selected action group triggers another AWS Lambda function
- This function interfaces with external advertising platform APIs (e.g., Meta Marketing API)
- It executes the campaign creation with the specified parameters
- Status Communication
- Upon completion, the Lambda function processes the response
- It uses Amazon SES to send status updates
- Relevant stakeholders receive detailed email notifications about the campaign creation status
This automated solution delivers several key benefits:
- Reduces campaign setup time from hours to minutes
- Minimizes human errors in campaign configuration
- Ensures consistency in campaign setup across platforms
- Provides immediate feedback through automated notifications
- Scales easily to handle multiple campaigns and platforms
The below interaction showcases the agent's ability to understand complex campaign requirements and execute them accurately:

By leveraging Agents for Amazon Bedrock, I have created a solution that significantly streamlines the advertising campaign creation process. This automation not only saves valuable time for marketing operations teams but also ensures accuracy and consistency in campaign setup. As digital advertising continues to evolve, such automated solutions will become increasingly crucial for maintaining efficiency and competitiveness in the market.
The solution can be extended to handle more complex scenarios and additional advertising platforms, making it a versatile tool for marketing teams of all sizes.
Any opinions in this post are those of the individual author and may not reflect the opinions of AWS.