# Google Ads Agency Read-only PoC

## Purpose

This PoC turns Google Ads agency work into two repeatable read-only jobs:

1. Daily safety monitor
2. Weekly search-term review

It does not register scheduler tasks and does not perform Google Ads mutate operations.

## Commands

Daily monitor:

```powershell
py -3.14 scripts/secretary/google_ads_agency_readonly_poc.py --mode daily --campaign-id 20642030392
```

Weekly search-term review:

```powershell
py -3.14 scripts/secretary/google_ads_agency_readonly_poc.py --mode weekly --campaign-id 20642030392 --days 7
```

Combined PoC run:

```powershell
py -3.14 scripts/secretary/google_ads_agency_readonly_poc.py --mode both --campaign-id 20642030392 --days 8
```

Fixture smoke test:

```powershell
py -3.14 scripts/secretary/google_ads_agency_readonly_poc.py --mode both --fixture --out-dir tmp/google_ads_agency_readonly_poc_fixture
```

## Outputs

The script writes a timestamped directory under `tmp/google_ads_agency_readonly_poc/` unless `--out-dir` is provided.

Daily outputs:

- `daily_monitor.md`
- `daily_monitor.json`
- `campaign_daily.csv`

Weekly outputs:

- `weekly_review.md`
- `weekly_review.html`
- `weekly_search_terms_classified.csv`
- `weekly_candidates.csv`
- `weekly_action_summary.csv`

Evidence outputs:

- `connector_receipt.json`
- `evidence_package.json`
- `intent.json`

## Scheduling Proposal

- Daily monitor: every day at 08:30 JST.
- Weekly search-term review: every Monday at 09:00 JST.
- Post-change watch: run the same daily monitor at T+24h, T+72h, and T+7d after any approved ad change.

The batch wrappers are:

- `scripts/cron/google_ads_agency_daily_readonly_poc.bat`
- `scripts/cron/google_ads_agency_weekly_review_poc.bat`

They are intentionally not registered in Windows Task Scheduler by this PoC.

## Safety Boundary

Allowed:

- Google Ads API read-only `Search`
- local CSV/JSON/Markdown/HTML output
- local validation

Forbidden:

- Google Ads mutate
- keyword/negative keyword creation
- budget, bid, ad, or asset changes
- notification sending
- LP, LINE, ProLine, Stripe, GA4, or Clarity writes
- scheduler registration without explicit approval
- commit, push, PR, merge
