- Added a toolbar for adding keywords in the campaign terms view. - Implemented match type change functionality with a confirmation dialog. - Added delete functionality for keywords with confirmation. - Updated styles for new buttons and icons in the campaign terms view. - Enhanced product view with warning icons for product alerts and corresponding modal display. - Updated product table to include a new column for warnings and adjusted column visibility settings. - Documented project overview, code style conventions, suggested commands, and task completion checklist.
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# adsPRO - Project Overview
|
|
|
|
## Purpose
|
|
PHP SaaS application for managing Google Ads campaigns, products, and clients. Integrates with Google Ads API, OpenAI, and Claude AI for AI-powered ad optimization. UI language: Polish.
|
|
|
|
## Tech Stack
|
|
- PHP (custom MVC framework, no Composer)
|
|
- MySQL via Medoo ORM (`global $mdb`)
|
|
- Frontend: jQuery 3.6, DataTables 2.1, Bootstrap 4, Select2, Highcharts, Font Awesome 6.5
|
|
- SASS for styles (compiled by VS Code Live Sass Compiler)
|
|
- Deployment: FTP auto-upload via VS Code FTP-Kr
|
|
|
|
## Architecture
|
|
- Controllers: `autoload/controls/class.*.php` (namespace `\controls`)
|
|
- Factories: `autoload/factory/class.*.php` (namespace `\factory`)
|
|
- Views: `autoload/view/class.*.php` (namespace `\view`)
|
|
- Services: `autoload/services/class.*.php` (namespace `\services`)
|
|
- Templates: `templates/` (variables via `$this->varName`)
|
|
- Routing: `index.php`, URL `/module/action/` → `\controls\Module::action()`
|
|
|
|
## Entry Points
|
|
- `index.php` - Main app (routing + auth)
|
|
- `ajax.php` - AJAX requests (authenticated)
|
|
- `api.php` - Public API
|
|
- `cron.php` - Background jobs
|
|
- `install.php` - Database migration runner
|