<div class="card">
    <div class="card-header"><h4 class="card-title mb-0">Google Ads API / OAuth Bilgileri</h4></div>
    <div class="card-body">
        <div class="alert alert-info border-0">Google Ads için developer token, OAuth client bilgileri ve refresh token gerekir. OAuth butonu bağlantı kaydından sonra detay sayfasında görünür.</div>
        <div class="row">
            <div class="col-md-6 mb-3"><label class="form-label">Google Client ID</label><input type="text" name="google_client_id" class="form-control" value="{{ old('google_client_id') }}" placeholder="...apps.googleusercontent.com"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Google Client Secret</label><input type="password" name="google_client_secret" class="form-control" value="{{ old('google_client_secret') }}" autocomplete="new-password" placeholder="Boş bırakılırsa mevcut değer korunur"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Developer Token</label><input type="password" name="developer_token" class="form-control" value="{{ old('developer_token') }}" autocomplete="new-password" placeholder="22 karakter Google Ads developer token"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Refresh Token</label><input type="password" name="refresh_token" class="form-control" value="{{ old('refresh_token') }}" autocomplete="new-password" placeholder="OAuth sonrası otomatik dolar veya manuel girilebilir"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Login Customer ID / MCC</label><input type="text" name="login_customer_id" class="form-control" value="{{ old('login_customer_id', $connection->meta['login_customer_id'] ?? '') }}" placeholder="Tire olmadan MCC ID"></div>
            <div class="col-md-6 mb-3"><label class="form-label">Customer ID</label><input type="text" name="customer_id" class="form-control" value="{{ old('customer_id', $connection->meta['customer_id'] ?? '') }}" placeholder="Hedef müşteri hesabı ID"></div>
        </div>
    </div>
</div>
