← back to Gmc Titlefix
spotcheck: verify 500-batch title flips landed on Google (8/8 across 5 vendors)
278654ab7db185ca7b06f015ac7979a478f162a4 · 2026-06-18 07:34:57 -0700 · SteveStudio2
Files touched
Diff
commit 278654ab7db185ca7b06f015ac7979a478f162a4
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date: Thu Jun 18 07:34:57 2026 -0700
spotcheck: verify 500-batch title flips landed on Google (8/8 across 5 vendors)
---
spotcheck500.js | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/spotcheck500.js b/spotcheck500.js
new file mode 100644
index 0000000..1516dc1
--- /dev/null
+++ b/spotcheck500.js
@@ -0,0 +1,19 @@
+const {token,MERCHANT}=require('./_auth');
+const list=require('./gmc_titlefix_list.json');
+// sample 8 offers from within the 500 batch (rows 1..499), spread out
+const idxs=[1,50,120,200,275,350,425,499];
+(async()=>{
+ const tok=await token();
+ let flipped=0, notyet=0;
+ for(const i of idxs){
+ const row=list[i];
+ const url=`https://shoppingcontent.googleapis.com/content/v2.1/${MERCHANT}/products/online:en:US:${row.offerId}`;
+ const r=await fetch(url,{headers:{Authorization:'Bearer '+tok}});
+ if(!r.ok){ console.log(`row ${i}: HTTP ${r.status} ${(await r.text()).slice(0,80)}`); continue; }
+ const j=await r.json();
+ const isSample=/^Sample:/.test(j.title||'');
+ if(isSample) flipped++; else notyet++;
+ console.log(`row ${i}: ${isSample?'✅ FLIPPED':'⏳ not yet'} | ${(j.title||'').slice(0,70)}`);
+ }
+ console.log(`\nSAMPLE RESULT: ${flipped}/${idxs.length} flipped, ${notyet} not yet`);
+})();
← 3ac8233 step-d: add LIMIT env knob for staged batches (verify-gate p
·
back to Gmc Titlefix
·
step-2: full-feed verifier + wait-for-scaleout-then-verify w 78f9b56 →