-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcredentials.txt
More file actions
25 lines (23 loc) · 1.04 KB
/
credentials.txt
File metadata and controls
25 lines (23 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# ============================================================
# GOOGLE INDEXING API CREDENTIALS
# ============================================================
# Fill in your service account JSON key file path below.
#
# HOW TO GET THIS:
# 1. Go to https://console.cloud.google.com/
# 2. Select your project (same one you use for GSC API)
# 3. Enable "Web Search Indexing API" in APIs & Services > Library
# 4. Go to IAM & Admin > Service Accounts
# 5. Use your existing service account (or create new)
# 6. Keys tab > Add Key > Create new key > JSON
# 7. Save the .json file in THIS folder
# 8. Write the filename below
#
# IMPORTANT: The service account email must be added as
# Owner in Google Search Console for your property!
# ============================================================
# Path to your service account JSON key file
# Just the filename if it's in the same folder as this script
service_account_json=your-service-account-key.json
# Your website URL (EXACTLY as shown in Search Console)
site_url=https://www.example.com/