# Programming in AdTech

This section will cover the aspects of programming in AdTech. While AdTech is a broad term and the complexity across different players is vast, this section will focus on key concepts illustrated with code examples using python.


## Tutorial Outline

### Foundation Setup (Basic Ad Server)

- Create a simple ad server
- Implement basic ad targeting
- Add impression tracking
- Learn about ad formats and sizes

### Header Bidding Basics

- Understand client-side header bidding
- Implement a basic prebid.js integration
- Create bid adapters
- Handle timeouts and responses

### Real-Time Bidding (RTB)

- Build OpenRTB bid requests
- Create bid responses
- Implement auction logic
- Handle bid pricing and currencies

### Ad Campaign Management

- Campaign CRUD operations
- Budget management
- Frequency capping
- Targeting rules

### Analytics and Reporting

- Implement tracking pixels
- Create basic reporting dashboard
- Track key metrics (impressions, clicks, conversions)
- Data visualization

### Advanced Topics

- User segmentation
A/B testing
- Fraud detection
- Viewability measurement




