# SEO and Google Search Console by [kirupa](https://www.kirupa.com/me/index.htm) | filed under [Marketing & Growth](https://www.kirupa.com/marketing_and_growth/index.htm) | 3 December 2026 **TL;DR:** Give each page a clear title, a readable address, the answer near the top, alt text, and links pointing in. That's basic SEO. Google Search Console, Google's free dashboard for your site, shows which searches find your pages and why some aren't indexed. An agent can read it through a service account, a Google account for programs. - Use the words people search for in the title and headings, keep the address short and readable, and put the answer in the first two sentences. - URL Inspection shows whether a page is on Google. Discovered - currently not indexed means Google knows about the page but hasn't crawled it yet. - In the Performance report, look for searches with lots of impressions and few clicks, then use those exact words in the page's title or headings. - An agent signs in with a service account and a JSON key. Give it Restricted access, ask for the read-only scope, and keep the key out of Git and chats. A week ago, Arlo published How to Keep Sourdough Fresh, the page we wrote together in [Content and Search](https://www.kirupa.com/marketing_and_growth/content_and_search.htm). This morning, he typed that question into Google to see our page in action, and our page was nowhere to be found. Is something broken? Is Google ignoring us? Right now, all we can do is guess. In this article, we are going to make sure our page gets the basics right, use a free tool from Google to see our site the way Google sees it, and then set up an AI agent to keep an eye on all of this for us every week. Onwards! ## Checking the Basics Here is roughly what Arlo saw when he searched for how to keep sourdough fresh:  Lots of bread, and none of it ours. Before we blame Google, let's make sure our page does the basic things that help search engines find it, understand it, and show it well. These basics are what most people mean by **SEO** (short for search engine optimization), and our page has five spots where they show up:  Here is the job each numbered spot is doing: 1. The **title** usually becomes the blue headline in search results, so it uses the words people actually search for. 2. The **address** (aka URL) is short and readable, like crumb.co/keep-sourdough-fresh instead of crumb.co/p?id=8812. 3. The **main heading** and the two-sentence answer right under it tell a reader (and Google) what the page is about right away. 4. The photo's **alt text** is a short description of the image for people using screen readers, and for search engines too. 5. A **link** from our home page lets crawlers find our page by following links from a page Google already knows. Most of these live in our page's HTML. If we peek at the source, the title, description, heading, and alt text take up just a few lines: ```html
Keep it cut side down on the counter for 2 to 3 days...
```
What's missing from this list matters too. Google's [SEO Starter Guide](https://developers.google.com/search/docs/fundamentals/seo-starter-guide) says Google Search does not use the keywords meta tag at all, and there is no magic word count a page has to hit. A lot of old SEO advice is like that. It made sense at one point, and now it just eats up our time.
Our page checks all five boxes, so why isn't it showing up? To answer that, we need to see what Google sees.
## What Is Google Search Console?
Google will tell us a surprising amount about our site if we ask. It will show us which searches our pages appeared in, how many people clicked, which pages made it into its index (its giant catalog of the web), and which pages didn't and why. All of this lives in one free dashboard, and that dashboard is called [Google Search Console](https://search.google.com/search-console/about). These are the four parts of it we are going to use:

We will visit each of these in turn. Before any of them shows us anything, though, we have to prove to Google that crumb.co is really ours.
## How Do We Add Our Site?
Search Console calls a website a **property**, and it gives us [two kinds to pick from](https://support.google.com/webmasters/answer/34592). The difference between them is how much of our site each one covers:

A **Domain property** like crumb.co covers everything: with and without www, http and https, and any subdomain like shop.crumb.co. A **URL-prefix property** only covers addresses that start with exactly what we typed, so https://crumb.co/ misses https://www.crumb.co/ entirely. We will go with the Domain property, because we want all of crumb.co in one place.
The catch is that a Domain property has to be verified through DNS, which is the internet's address book for domain names. Wren, who runs our website, handles this part:

Search Console gives us a short line of text called a **TXT record**. Wren adds it to crumb.co's DNS settings, which usually live at the company we bought the domain from, and then clicks Verify. DNS changes can take a little while to spread, but once Search Console finds the record, crumb.co is verified. (A URL-prefix property has easier options, like uploading a small HTML file, which helps if we cannot change our DNS.) Adding a property does not change how our site ranks one bit. It only lets us see what Google sees.
## How Do We Tell Google About Our Pages?
Our site already has a sitemap, the file that lists every page on crumb.co. In the Sitemaps report, we paste its address and press Submit:

A little later, the status says Success, and Search Console has discovered 24 pages, our sourdough guide included. A sitemap does not force Google to index anything. It is a list of pages we'd like Google to know about, so Google never has to stumble onto one of them by luck. When we add a new page, our sitemap lists it, and Google sees it the next time it reads the sitemap.
## Why Isn't Our Page on Google Yet?
Now we can finally answer Arlo's question. The [URL Inspection tool](https://support.google.com/webmasters/answer/9012289) at the top of Search Console takes one address and tells us everything Google knows about it. Here is what it says about our sourdough guide:

Our page is not on Google, and the reason is **Discovered - currently not indexed**. In plain words, this means Google knows our page exists, but it hasn't come by to read it yet. Google's [Page indexing help](https://support.google.com/webmasters/answer/7440203) says this usually happens when crawling right away might have overloaded the site, so Google rescheduled the visit.
That doesn't prove our page is healthy, though, because Google hasn't looked at it yet. The **Test live URL** button fetches our page right now and checks whether Google could index it. Ours comes back saying the URL is available to Google, so nothing on our page is blocking it. Google just has not crawled it yet.
This is really common for new pages. Here on kirupa.com, new articles often sit in Discovered - currently not indexed for a few days before Google crawls them.
If a page has been waiting a while, the **Request indexing** button asks Google to crawl it sooner. Google says indexing typically takes a day or so after a request, but it is not guaranteed, and there is a daily limit on how many requests we can make. For a bunch of new pages at once, the sitemap is the better tool. Here is how our sourdough guide went from published to searchable once Arlo pressed the button:

Our page sat in Discovered - currently not indexed for five days before Arlo pressed the button. The day after his request, Google crawled it and added it to the index, and the day after that, it started showing up when people searched.
## Which Searches Find Our Page?
Four weeks later, Arlo opens the [Performance report](https://support.google.com/webmasters/answer/7576553) and filters it to our sourdough guide. Four numbers sit at the top:

Here is what each of those numbers measures:
- **Impressions** count how many times our page showed up in someone's search results. For a regular link, that usually counts even if they never scrolled down far enough to see it.
- **Clicks** count how many times someone clicked through to our page.
- **CTR** (click-through rate) is our clicks divided by our impressions.
- **Average position** is the average of where our page showed up, and position 1 is the very top result.
Google's [AI features guide](https://developers.google.com/search/docs/appearance/ai-features) says that when our page shows up in AI Overviews or AI Mode, it is counted in this same report, under the Web search type. The numbers get really useful in the Queries tab, which lists the exact words people searched:

Two rows jump out at us. People who searched **how to store sourdough bread** saw our page 1,310 times, but only 9 of them clicked. Our page answers that question, but our title says keep instead of store, so it may not look like the answer at a glance. The search **can you freeze sourdough** has a different problem. Our average position for it is 17.2, which usually means the second page of results, where few people ever look. Our freezing section exists, but its heading does not use the words people search with, which might be part of the problem.
We can't know for sure why either row looks the way it does, but both have a change that's worth trying, and each one takes a few minutes:

We add store to our title and description, and we rename the freezing section's heading to the question people are actually asking. Google's starter guide says changes like these can take anywhere from a few hours to several months to have an effect, so we will compare these same rows again in a few weeks instead of tomorrow morning. If the numbers don't move, we try something else.
## Can an Agent Check This for Us?
Yes, it can. Checking all of this once is kind of fun. Remembering to check it every single Monday is a lot less fun, and Arlo is probably going to forget by February. Wren already uses an [AI agent](https://www.kirupa.com/ai_fundamentals/ai_agents.htm) to write and run code, so the plan is to have the agent pull the last 28 days of numbers every Monday and send Arlo a short list of pages worth fixing.
There is one problem. Search Console needs a Google sign-in, and we really don't want to give the agent Arlo's. His Google account opens his email, his files, and everything else he's signed into. What we want instead is a separate Google account that belongs to a program, can only see our Search Console data, and signs in with a key file instead of a password:

Google calls this kind of account a **service account**. It gets its own email address, it signs in with a key file, and it can only do what we explicitly let it do. Setting one up is going to happen in two places. We create the account and its key in the Google Cloud console, and then we invite the account into Search Console like a new coworker:

## How Do We Set Up the Service Account?
Here are the steps Wren follows, in the same order as the figure we just saw:
1. In the [Google Cloud console](https://console.cloud.google.com/), create a project or pick one we already have. A project is a folder that holds the account and its settings.
2. Under **APIs & Services > Library**, find the **Google Search Console API** and enable it.
3. Under **IAM & Admin > Service Accounts**, click **Create service account** and give it a name, like search-reporter. It does not need any of the optional Cloud roles, so we skip those.
4. Open the new account, go to **Keys > Add key > Create new key**, pick **JSON**, and click Create. The key file downloads once, and Google cannot give us that copy again.
5. Copy the account's email address, which looks like search-reporter@crumb-search.iam.gserviceaccount.com. In Search Console, go to **Settings > Users and permissions > Add user**, paste the email, and pick a permission.
6. Tell the agent two things: where the key file lives, and the name of our property.
Creating the key is the step most likely to trip us up. If Create new key is grayed out, either we don't have permission to create keys in this project, or an organization policy is blocking it. Google [turns that policy on by default](https://cloud.google.com/iam/docs/keys-create-delete) for Google Cloud organizations created on or after May 3, 2024, and someone who manages the organization's policies has to make an exception for our project.
When we add the account's email in Search Console, there are [three levels of access](https://support.google.com/webmasters/answer/7687615) to choose from:

**Restricted** is enough for reading reports, which is all our Monday list needs. We would pick **Full** only if the agent will also submit sitemaps for us. We never make the agent an **Owner**, because owners can add and remove other people.
For the last step, the property's name has to match the kind of property we created. A Domain property is written as `sc-domain:crumb.co`, and a URL-prefix property is its full address with the slash at the end, like `https://crumb.co/`.
## What Does the Agent Run?
With the key and the property in hand, the agent is going to be able to write the code itself. Here is what Wren asks it, and what comes back:

Under the hood, the agent's script boils down to a few lines of Python using Google's own client libraries, which we install with `pip install google-auth google-api-python-client`:
```python
from datetime import date, timedelta
from google.oauth2 import service_account
from googleapiclient.discovery import build
creds = service_account.Credentials.from_service_account_file(
"/Users/wren/secrets/search-console-key.json",
scopes=["https://www.googleapis.com/auth/webmasters.readonly"])
search_console = build("searchconsole", "v1", credentials=creds)
end = date.today() - timedelta(days=3) # the newest data is a few days old
start = end - timedelta(days=27) # 28 days in all
report = search_console.searchanalytics().query(
siteUrl="sc-domain:crumb.co",
body={"startDate": start.isoformat(), "endDate": end.isoformat(),
"dimensions": ["page", "query"], "rowLimit": 25000}).execute()
for row in report.get("rows", []):
print(row["keys"], row["clicks"], row["impressions"], round(row["position"], 1))
```
The first few lines load our key file and sign in. The `siteUrl` is our property's name, and `dimensions` asks for our numbers broken down by page and by search query, for the 28 days that end three days ago (the newest data takes a couple of days to settle). Google sends back the rows with the most clicks first, so we ask for up to 25,000 rows, the most one request allows, to make sure the searches with lots of impressions and few clicks make the cut. The loop at the end prints each row, and from there the agent sorts and filters its way to Arlo's list. Wren then has the agent run the script every Monday morning on a schedule, and checks the first report by hand.
Take a look at the `scopes` line. Our service account might be a Full user in Search Console, but this script asks Google for a read-only sign-in, so a bug in this script can't change anything. There are two separate checks going on here:

The permission in Search Console is the most the account is ever allowed to do. The **scope** is what this one sign-in is asking to do, and the agent only gets what both of them allow. A Full key could still ask for the read-write scope on some other run, which is why a Restricted permission is the stronger of the two locks. kirupa.com's own search dashboard is set up the same way: its daily pull signs in read-only, and only the job that resubmits our sitemap asks for more.
## What Can't the API Do?
The [Search Console API](https://developers.google.com/webmaster-tools/v1/api_reference_index) (the way programs talk to Search Console) does not cover everything we can see on the website, which surprises a lot of people:

Our agent can read the Performance data, list and submit sitemaps, and inspect one URL at a time, up to 2,000 inspections a day for each site. It cannot read the Page indexing report, Core Web Vitals, or Manual actions, and it can't press Request indexing for us. For those, a person still opens Search Console. Performance data also shows up two to three days late, so the agent's Monday report always stops a few days short of Monday.
## How Do We Keep the Key Safe?
Our key file works like a password that never expires. Google's docs say service account keys do not expire by default, so anyone who gets a copy can sign in as our service account until we delete that key. This is where our key should and shouldn't live:

A few habits keep the key where it belongs:
- Keep the key outside our project's folder, so it never gets committed to Git along with the code.
- Give the agent the key's location, never its contents. Pasting the key into a chat leaves it sitting in that chat's history.
- Lock the file down so only our own user account can read it (`chmod 600` on a Mac or Linux).
- Give the account the least access that works: Restricted in Search Console and a read-only scope.
- To replace a key, add a new one, switch the agent over to it, and then delete the old key in the Cloud console.
## Try It This Week
Here is a plan for getting your own site set up, one step at a time:
1. Add your site to Search Console as a Domain property and verify it through DNS.
2. Submit your sitemap, and then run URL Inspection on your newest page.
3. In Performance, open your busiest page's Queries tab and find one search with lots of impressions and few clicks. Fix that page's title or heading.
4. When you're ready to automate it, create a service account, add it as a Restricted user, and ask your agent for a weekly list.
## Frequently Asked Questions
**What Is the Difference Between a Domain and URL-Prefix Property?**
A Domain property like crumb.co covers every version of a site: with and without www, http and https, and every subdomain. A URL-prefix property only covers addresses that start with exactly what you typed. A Domain property has to be verified through DNS, usually with a TXT record, while a URL-prefix property has easier options like uploading an HTML file.
**What Does Discovered - Currently Not Indexed Mean?**
It means Google knows the page exists but hasn’t crawled it yet, usually because crawling right away might have overloaded the site. It’s common for new pages and often clears up on its own within a few days. The Request indexing button in URL Inspection asks Google to crawl it sooner.
**How Do I Connect an AI Agent to Google Search Console?**
Create a service account in the Google Cloud console, enable the Google Search Console API, and download a JSON key. Then add the service account’s email as a user in Search Console under Users and permissions. The agent signs in with that key and asks for the webmasters.readonly scope.
**Does a Service Account Need Full or Owner Permission in Search Console?**
No. Restricted is enough to read reports like Performance through the API. Full is only needed if the agent will submit sitemaps, and a service account should never be an Owner, because owners can add and remove other users.
## Conclusion
Ok! It is time to wrap things up. Arlo's page was never broken. Google knew about it and just hadn't crawled it yet, and we only found that out once we stopped guessing and asked Search Console. The basics on our page help Google find it and understand it, and Search Console tells us what Google actually did with it. Once we set up a service account, an agent can read those numbers for us every week without anybody handing over their password.
None of this guarantees our page a spot at the top of the results, and a report that nobody reads won't fix a single title. What we get instead is a short list every Monday: a few specific pages and the exact searches they're missing. That beats scrolling through three pages of other people's sourdough...which is how this whole thing started.
Before you go, here are a few things you can do:
1. Test your knowledge by taking the quiz below.
2. Read the next article in the series, [Community-Led Growth](https://www.kirupa.com/marketing_and_growth/community_led_growth.htm), or check out some related content:
- [Content and Search](https://www.kirupa.com/marketing_and_growth/content_and_search.htm). How search engines and AI answers find pages, and how to write one worth finding.
- [Measuring Marketing](https://www.kirupa.com/marketing_and_growth/measuring_marketing.htm). How to tell which marketing actually caused the results you see.
- [What Makes an AI Agent](https://www.kirupa.com/ai_fundamentals/ai_agents.htm). What an AI agent is, and how it plans steps and calls tools.
3. Stuck on something, or curious about a detail we skipped? [Ask on the forums](https://forum.kirupa.com/), and we’ll help you out.
## Test your knowledge!
[Take the Reviewing SEO and Google Search Console Quiz](https://www.kirupa.com/quizzes/seo_and_search_console.htm). Practice with 6 multiple-choice questions and an explanation after every answer.