AI-assisted original teaching exercise. All nine packets and their observations are synthetic; no account data or customer query is used.
Do not give the first key a permanent column name
A supplier exports one Search Console row with keys MOBILE, aus. A spreadsheet labels column one Country because yesterday’s request used country, device. Today’s request used device, country. The values are plausible, but the permanent label is wrong. Keep each response beside the exact request that generated it before accepting a country comparison.
The request defines the row key order
Google’s Search Analytics reference says response keys follow the dimensions supplied in the request. It also documents three-letter country filter codes. Neither rule makes a detached row self-describing. Preserve the ordered dimensions, property, dates, search type, filters, aggregation, pagination and original capture reference. The little envelope below is our teaching format; it is not an official Google export schema.
Replay the two correct orders
A supplies country, device with aus, MOBILE. B supplies device, country with MOBILE, aus. Both locate aus as the country value, but B records index 1 instead of index 0. The output deliberately omits the other dimension values. This makes a small issue handover possible without repeating query or page text that a real row might contain. The input and original capture still need appropriate private handling.
Stop when evidence cannot be bound
C lacks the dimension list and stays DIMENSIONS_UNBOUND. D has two dimensions and one key: reject it before using zip or a spreadsheet fill to hide the missing column. E repeats country and is rejected before a dictionary can silently overwrite a value. F groups only by device. Even if a separate request filter restricted country, that does not create a country column in the response.
Check format without inventing a country registry
G supplies AU: the helper leaves the three-letter country shape unresolved and never converts it automatically. H supplies zzz: it has three letters, so it passes only the shape check while countryRegistryMembershipVerified remains false. A real workflow needs a separately sourced current code registry or reviewed finite mapping. Lowercasing in our output is a declared teaching normalization; it is not proof that a value identifies a real country.
Separate report country from language targeting
A country code in a performance report is not a complete hreflang value. Google’s localized-page guidance uses a language code with an optional two-letter region, and does not derive language from country alone. Do not create a language annotation, new city page or market claim merely by shortening a report code. Existing counterpart and fallback reviews handle page relationships separately.
Keep the remaining acceptance evidence
I has no keys list and stays ROW_KEYS_MISSING. An absent row is different from a row containing recorded zero metrics; this helper does not invent a zero for an empty response. A successful binding also cannot prove that the saved request really belongs to this response: retain their shared capture identity. Later metric aggregation, final-data selection, country completeness, actual demand, ranking and AI citations need their own evidence.
Nine filled teaching packets
| Case | Input | Output boundary |
|---|---|---|
| A/B | Reversed dimension order, correctly paired keys | Same country, different index |
| C | No ordered request dimensions | DIMENSIONS_UNBOUND |
| D/E | Missing key / repeated dimension | Reject before binding |
| F | Device grouped, country not grouped | COUNTRY_NOT_GROUPED |
| G/H | AU / zzz | Unresolved shape / membership unknown |
| I | Missing keys list | ROW_KEYS_MISSING |
Run and inspect the finite check
Keep all five files together. Use Python 3.10 or newer, run nine test groups and compare the printed output with actual-output.json. The standard-library helper reads at most 1 MiB locally, makes no network or account request and writes no files. It is not a complete GSC validator, privacy scrubber or code registry.
python3 -B -m unittest -v test_review.py
python3 -B review.py filled-review.jsonPrimary sources and scope
Google Search Analytics query reference · Google localized-page guidance. Supporting passages checked 6 November 2026. Test envelope, review statuses and output restrictions are original teaching choices. No API call, export, billing change or live measurement is made.
Review the requested report scope · Review a bilingual counterpart pair