A comprehensive Amazon PPC campaign management and optimization platform designed to help Amazon sellers and agencies maximize their advertising ROI. It leverages machine learning-powered bid recommendations, automated rules, and performance forecasting to streamline campaign management, improve ad performance, and drive sales growth. This platform is ideal for Amazon PPC managers, agencies, and sellers who want to automate and optimize their advertising efforts.
Amazon Bid Master is an end-to-end solution for managing and optimizing Amazon PPC campaigns. It provides a suite of tools and features that help users to:
- Automate bid adjustments based on performance metrics.
- Improve ad performance and reduce advertising costs.
- Forecast future campaign performance with confidence intervals.
- Get insights and recommendations from an AI assistant.
- Easily import campaign data and export reports.
Managing Amazon PPC campaigns can be a complex and time-consuming task. Amazon Bid Master simplifies this process by automating many of the tasks involved in campaign management, such as bid adjustments, rule creation, and performance forecasting. This allows users to focus on other important aspects of their business, such as product development and customer service.
Amazon Bid Master is designed for:
- Amazon PPC Managers: Professionals who manage Amazon PPC campaigns for businesses.
- Agencies: Marketing agencies that provide Amazon PPC services to their clients.
- Amazon Sellers: Businesses that sell products on Amazon and want to optimize their advertising efforts.
- Campaign Management: View and analyze all your Amazon PPC campaigns in one place
- ML-Powered Bid Optimization: Get intelligent bid recommendations based on campaign performance
- Automated Rules: Create custom rules to automate bid adjustments based on performance metrics
- Performance Forecasting: Predict future campaign performance with confidence intervals
- PPC Expert Chatbot: Get insights and recommendations from an AI assistant
- CSV Import/Export: Easily import campaign data and export reports
- Frontend: React, TypeScript, TailwindCSS, Shadcn UI, Recharts
- Backend: Node.js, Express, TypeScript
- Database: PostgreSQL with Drizzle ORM
- AI/ML: Google Gemini (default), OpenAI, Anthropic APIs for chatbot, custom ML models for bid optimization
The project follows a clean architecture approach with clear separation of concerns:
├── client/ # Frontend React application
│ ├── src/
│ │ ├── components/ # UI components
│ │ ├── hooks/ # Custom React hooks
│ │ ├── lib/ # Utility functions
│ │ ├── pages/ # Page components
│ │ └── types/ # TypeScript type definitions
│
├── server/ # Backend Express application
│ ├── src/
│ │ ├── controllers/ # Request handlers
│ │ ├── services/ # Business logic
│ │ ├── routes/ # API route definitions
│ │ └── utils/ # Utility functions
│
└── shared/ # Shared code between frontend and backend
├── ml/ # Machine learning models
├── schema.ts # Database schema
├── services/ # Shared services
└── types/ # TypeScript types
-
Clone the repository:
git clone https://github.com/yourusername/amazon-bid-master.git cd amazon-bid-master -
Install dependencies:
npm install -
Set up environment variables: Create a
.envfile in the root directory with the following variables:DATABASE_URL=your_database_url OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key GOOGLE_API_KEY=your_google_api_key
Note: The AI services require the API keys to be set in the .env file.
-
Start the development server:
npm run devThis will start:
- The backend server on http://localhost:4000
- The frontend development server on http://localhost:3000
You can also run them separately:
# Run only the backend server npm run dev:server # Run only the frontend development server npm run dev:client -
Open your browser and navigate to
http://localhost:3000
- Node.js 18+
- npm or yarn
- Install Docker: https://docs.docker.com/get-docker/
- Build the Docker image:
docker build -t amazon-bid-master . - Run the Docker container:
docker run -p 3000:3000 -p 4000:4000 amazon-bid-master - Open your browser and navigate to
http://localhost:3000
-
Build the application:
npm run build -
Start the production server:
npm start -
The application will be available at http://localhost:4000
- Set up a VPS:
- Choose a VPS provider (e.g. DigitalOcean, AWS, Google Cloud).
- Create a new VPS instance with Ubuntu 20.04 or later.
- Connect to the VPS via SSH.
- Install Node.js and npm:
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs - Install PostgreSQL:
sudo apt-get update sudo apt-get install postgresql postgresql-contrib - Clone the repository:
git clone https://github.com/yourusername/amazon-bid-master.git cd amazon-bid-master - Install dependencies:
npm install - Set up environment variables:
Create a
.envfile in the root directory with the following variables:DATABASE_URL=your_database_url OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key GOOGLE_API_KEY=your_google_api_key
Note: The AI services require the API keys to be set in the .env file.
7. Set up the database:
* Connect to the PostgreSQL server:
sudo -u postgres psql
* Create a new database:
CREATE DATABASE amazon_bid_master;
* Create a new user:
CREATE USER amazon_bid_master WITH PASSWORD 'your_password';
* Grant privileges to the user:
GRANT ALL PRIVILEGES ON DATABASE amazon_bid_master TO amazon_bid_master;
* Exit the PostgreSQL server:
\q
8. Run the database migrations:
npx drizzle-kit generate:pg npx drizzle-kit push:pg
9. Build the application:
npm run build
10. Start the production server:
npm start
11. Configure a reverse proxy:
* Install Nginx:
sudo apt-get install nginx
* Create a new Nginx configuration file:
sudo nano /etc/nginx/sites-available/amazon-bid-master
* Add the following configuration:
```
server {
listen 80;
server_name your_domain.com;
location / {
proxy_pass http://localhost:4000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
```
* Enable the new configuration:
```
sudo ln -s /etc/nginx/sites-available/amazon-bid-master /etc/nginx/sites-enabled/
```
* Restart Nginx:
```
sudo systemctl restart nginx
```
- Open your browser and navigate to
http://your_domain.com
- Choose a cloud provider (e.g. AWS, Google Cloud, Azure).
- Create a new project or resource group.
- Set up a virtual machine:
- Choose an Ubuntu 20.04 or later image.
- Configure the virtual machine with at least 2GB of RAM and 2 vCPUs.
- Open ports 80, 443, 3000, and 4000 in the firewall.
- Connect to the virtual machine via SSH.
- Install Node.js and npm:
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs - Install PostgreSQL:
sudo apt-get update sudo apt-get install postgresql postgresql-contrib - Clone the repository:
git clone https://github.com/yourusername/amazon-bid-master.git cd amazon-bid-master - Install dependencies:
npm install - Set up environment variables:
Create a
.envfile in the root directory with the following variables:DATABASE_URL=your_database_url OPENAI_API_KEY=your_openai_api_key ANTHROPIC_API_KEY=your_anthropic_api_key GOOGLE_API_KEY=your_google_api_key
Note: The AI services require the API keys to be set in the .env file.
10. Set up the database:
* Connect to the PostgreSQL server:
sudo -u postgres psql
* Create a new database:
CREATE DATABASE amazon_bid_master;
* Create a new user:
CREATE USER amazon_bid_master WITH PASSWORD 'your_password';
* Grant privileges to the user:
GRANT ALL PRIVILEGES ON DATABASE amazon_bid_master TO amazon_bid_master;
* Exit the PostgreSQL server:
\q
11. Run the database migrations:
npx drizzle-kit generate:pg npx drizzle-kit push:pg
12. Build the application:
npm run build
13. Start the production server:
npm start
14. Configure a reverse proxy:
* Install Nginx:
sudo apt-get install nginx
* Create a new Nginx configuration file:
sudo nano /etc/nginx/sites-available/amazon-bid-master
* Add the following configuration:
```
server {
listen 80;
server_name your_domain.com;
location / {
proxy_pass http://localhost:4000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
```
* Enable the new configuration:
```
sudo ln -s /etc/nginx/sites-available/amazon-bid-master /etc/nginx/sites-enabled/
```
* Restart Nginx:
```
sudo systemctl restart nginx
```
- Configure a domain name:
- Purchase a domain name from a domain registrar (e.g. GoDaddy, Namecheap).
- Create a new DNS record that points to the virtual machine's IP address.
- Configure HTTPS:
- Install Certbot:
sudo apt-get install certbot python3-certbot-nginx - Obtain a SSL certificate:
sudo certbot --nginx -d your_domain.com
- Install Certbot:
GET /api/campaigns- Get all campaignsGET /api/campaigns/:id- Get a specific campaignPOST /api/campaigns- Create a new campaignGET /api/campaigns/:id/bid-prediction- Get bid prediction for a campaignGET /api/campaigns/:id/forecast- Get forecast for a campaignGET /api/campaigns/bulk-bid-predictions- Get bid predictions for all campaigns
GET /api/rules- Get all rulesGET /api/rules/:id- Get a specific rulePOST /api/rules- Create a new rulePATCH /api/rules/:id- Update a rulePOST /api/rules/validate- Validate a rule
GET /api/recommendations- Get all recommendationsPOST /api/recommendations- Create a new recommendation
GET /api/chat/conversations- Get all conversationsGET /api/chat/conversations/:id- Get a specific conversationPOST /api/chat/conversations- Create a new conversationPOST /api/chat/messages/:id- Send a message in a conversationDELETE /api/chat/conversations/:id- Delete a conversationGET /api/chat/models- Get available AI models
POST /api/upload-csv- Upload campaign data via CSV
This project is licensed under the MIT License - see the LICENSE file for details.
Wiki Docs (Content for the wiki pages is available in the WIKI.md file)
- Shadcn UI - UI components
- Recharts - Charting library
- OpenAI (https://openai.com/) - AI services
- Anthropic (https://www.anthropic.com/) - AI services
- Google Gemini (https://ai.google.dev/) - AI services