{
  "data": {
    "id": "BbUCmxykx0aSGZhSU",
    "actId": "dSpvCtFfup0mUTVnR",
    "userId": "4BicJNfmk8uEe3GtT",
    "startedAt": "2026-11-25T13:26:25.278Z",
    "finishedAt": "2026-11-25T13:26:30.303Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 4882,
      "runTimeSecs": 4.882,
      "computeUnits": 0.005424444444444444,
      "imageSizeBytes": 358585856
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "chIfRjofLtMMYtdFe",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Google Business Profile Audit Input\",\n  \"description\": \"Audit one or more Google Business Profiles against the live local competitors Google Maps ranks for a keyword, with review velocity, owner replies, posts, photos and a prioritised fix list.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Input mode\",\n      \"type\": \"string\",\n      \"description\": \"Find the business by name + city, or audit exact Google Maps place links/IDs.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"business\",\n        \"place\"\n      ],\n      \"enumTitles\": [\n        \"Business name + city\",\n        \"Google Maps place links / IDs\"\n      ],\n      \"default\": \"business\",\n      \"prefill\": \"business\",\n      \"sectionCaption\": \"Business\"\n    },\n    \"businessName\": {\n      \"title\": \"Business name\",\n      \"type\": \"string\",\n      \"description\": \"Exact business name to find (mode=business). Example: Joe's Pizza.\",\n      \"editor\": \"textfield\",\n      \"default\": \"Joe's Pizza\",\n      \"prefill\": \"Joe's Pizza\"\n    },\n    \"city\": {\n      \"title\": \"City or location\",\n      \"type\": \"string\",\n      \"description\": \"City, neighbourhood or address used to find the business (mode=business).\",\n      \"editor\": \"textfield\",\n      \"default\": \"New York\",\n      \"prefill\": \"New York\"\n    },\n    \"placeUrls\": {\n      \"title\": \"Google Maps place links or IDs\",\n      \"type\": \"array\",\n      \"description\": \"Maps place URLs, Place IDs (ChIJ...), feature IDs (0x...:0x...), CIDs, or maps.app.goo.gl share links (mode=place). Each is verified against Google's place header before it is audited.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [],\n      \"sectionCaption\": \"Audit\"\n    },\n    \"primaryKeyword\": {\n      \"title\": \"Primary local keyword\",\n      \"type\": \"string\",\n      \"description\": \"The search a customer would use near the business (e.g. pizza, emergency plumber, dentist). Empty uses the primary category.\",\n      \"editor\": \"textfield\",\n      \"default\": \"pizza\",\n      \"prefill\": \"pizza\"\n    },\n    \"competitorCount\": {\n      \"title\": \"Competitors to benchmark\",\n      \"type\": \"integer\",\n      \"description\": \"Top N live Google Maps results for the keyword near the business, excluding the business itself and other branches of the same brand. 0 disables competitor discovery.\",\n      \"minimum\": 0,\n      \"maximum\": 20,\n      \"default\": 5,\n      \"prefill\": 1\n    },\n    \"includeCompetitors\": {\n      \"title\": \"Discover competitors\",\n      \"type\": \"boolean\",\n      \"description\": \"Run the keyword search and benchmark against the live local results.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeCompetitorRecords\": {\n      \"title\": \"Emit one row per competitor\",\n      \"type\": \"boolean\",\n      \"description\": \"When on, each benchmarked competitor is a separate dataset row with its own checklist and score. Off keeps only the audit row with the benchmark table.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeClosedCompetitors\": {\n      \"title\": \"Include permanently closed competitors\",\n      \"type\": \"boolean\",\n      \"description\": \"Keep places Google marks permanently closed in the benchmark.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxReviewsPerBusiness\": {\n      \"title\": \"Reviews to read per business\",\n      \"type\": \"integer\",\n      \"description\": \"Newest-first review sample per business. The walk stops at this cap or once the 90-day window is covered, whichever comes first. More reviews improve velocity and reply accuracy.\",\n      \"minimum\": 20,\n      \"maximum\": 600,\n      \"default\": 180,\n      \"prefill\": 60\n    },\n    \"includePosts\": {\n      \"title\": \"Owner posts\",\n      \"type\": \"boolean\",\n      \"description\": \"Read the visible owner updates, offers and events and score the latest post date.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxPostsPerBusiness\": {\n      \"title\": \"Recent posts to output\",\n      \"type\": \"integer\",\n      \"description\": \"How many recent owner posts to include per business in the row.\",\n      \"minimum\": 1,\n      \"maximum\": 20,\n      \"default\": 3,\n      \"prefill\": 2\n    },\n    \"includeMediaBreakdown\": {\n      \"title\": \"Owner/customer photo + video sample\",\n      \"type\": \"boolean\",\n      \"description\": \"Read a small public gallery sample to split owner vs customer photos and detect video. Adds one request per sampled item.\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"photoSampleSize\": {\n      \"title\": \"Gallery items in the media sample\",\n      \"type\": \"integer\",\n      \"description\": \"Public gallery items read per business for the owner/customer split and video presence.\",\n      \"minimum\": 1,\n      \"maximum\": 30,\n      \"default\": 10,\n      \"prefill\": 10\n    },\n    \"includePhotoOwnerSplit\": {\n      \"title\": \"Classify photo owner\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch each sampled item's contributor metadata and compare it with the profile's owner identity.\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"language\": {\n      \"title\": \"Language\",\n      \"type\": \"string\",\n      \"description\": \"Google Maps interface language for labels, categories and hours.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"en\",\n        \"af\",\n        \"az\",\n        \"id\",\n        \"ms\",\n        \"bs\",\n        \"ca\",\n        \"cs\",\n        \"da\",\n        \"de\",\n        \"et\",\n        \"es\",\n        \"es-419\",\n        \"eu\",\n        \"fil\",\n        \"fr\",\n        \"gl\",\n        \"hr\",\n        \"zu\",\n        \"is\",\n        \"it\",\n        \"sw\",\n        \"lv\",\n        \"lt\",\n        \"hu\",\n        \"nl\",\n        \"no\",\n        \"uz\",\n        \"pl\",\n        \"pt-BR\",\n        \"pt-PT\",\n        \"ro\",\n        \"sq\",\n        \"sk\",\n        \"sl\",\n        \"fi\",\n        \"sv\",\n        \"vi\",\n        \"tr\",\n        \"el\",\n        \"bg\",\n        \"ky\",\n        \"kk\",\n        \"mk\",\n        \"mn\",\n        \"ru\",\n        \"sr\",\n        \"uk\",\n        \"ka\",\n        \"hy\",\n        \"iw\",\n        \"ur\",\n        \"ar\",\n        \"fa\",\n        \"am\",\n        \"ne\",\n        \"hi\",\n        \"mr\",\n        \"bn\",\n        \"pa\",\n        \"gu\",\n        \"ta\",\n        \"te\",\n        \"kn\",\n        \"ml\",\n        \"si\",\n        \"th\",\n        \"lo\",\n        \"my\",\n        \"km\",\n        \"ko\",\n        \"ja\",\n        \"zh-CN\",\n        \"zh-TW\"\n      ],\n      \"enumTitles\": [\n        \"English\",\n        \"Afrikaans\",\n        \"azərbaycan\",\n        \"Bahasa Indonesia\",\n        \"Bahasa Melayu\",\n        \"bosanski\",\n        \"català\",\n        \"Čeština\",\n        \"Dansk\",\n        \"Deutsch\",\n        \"eesti\",\n        \"Español\",\n        \"Español (Latinoamérica)\",\n        \"euskara\",\n        \"Filipino\",\n        \"Français\",\n        \"galego\",\n        \"Hrvatski\",\n        \"isiZulu\",\n        \"íslenska\",\n        \"Italiano\",\n        \"Kiswahili\",\n        \"latviešu\",\n        \"lietuvių\",\n        \"magyar\",\n        \"Nederlands\",\n        \"norsk\",\n        \"oʻzbekcha\",\n        \"polski\",\n        \"Português (Brasil)\",\n        \"Português (Portugal)\",\n        \"română\",\n        \"shqip\",\n        \"Slovenčina\",\n        \"slovenščina\",\n        \"Suomi\",\n        \"Svenska\",\n        \"Tiếng Việt\",\n        \"Türkçe\",\n        \"Ελληνικά\",\n        \"български\",\n        \"кыргызча\",\n        \"қазақ тілі\",\n        \"македонски\",\n        \"монгол\",\n        \"Русский\",\n        \"српски\",\n        \"Українська\",\n        \"ქართული\",\n        \"հայերեն\",\n        \"עברית\",\n        \"اردو\",\n        \"العربية\",\n        \"فارسی\",\n        \"አማርኛ\",\n        \"नेपाली\",\n        \"हिन्दी\",\n        \"मराठी\",\n        \"বাংলা\",\n        \"ਪੰਜਾਬੀ\",\n        \"ગુજરાતી\",\n        \"தமிழ்\",\n        \"తెలుగు\",\n        \"ಕನ್ನಡ\",\n        \"മലയാളം\",\n        \"සිංහල\",\n        \"ไทย\",\n        \"ລາວ\",\n        \"ဗမာ\",\n        \"ខ្មែរ\",\n        \"한국어\",\n        \"日本語\",\n        \"简体中文\",\n        \"繁體中文\"\n      ],\n      \"default\": \"en\",\n      \"prefill\": \"en\",\n      \"sectionCaption\": \"Locale\"\n    },\n    \"country\": {\n      \"title\": \"Country\",\n      \"type\": \"string\",\n      \"description\": \"Country context sent to Google Maps (gl). Use the business's own country.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"us\",\n        \"gb\",\n        \"ca\",\n        \"au\",\n        \"de\",\n        \"fr\",\n        \"es\",\n        \"it\",\n        \"nl\",\n        \"br\",\n        \"in\",\n        \"jp\",\n        \"mx\"\n      ],\n      \"enumTitles\": [\n        \"United States\",\n        \"United Kingdom\",\n        \"Canada\",\n        \"Australia\",\n        \"Germany\",\n        \"France\",\n        \"Spain\",\n        \"Italy\",\n        \"Netherlands\",\n        \"Brazil\",\n        \"India\",\n        \"Japan\",\n        \"Mexico\"\n      ],\n      \"default\": \"us\",\n      \"prefill\": \"us\"\n    },\n    \"maxItems\": {\n      \"title\": \"Max dataset items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted rows (audit rows + competitor rows + notes).\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 50,\n      \"prefill\": 10\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Google Business Profile Audit & Local Rival Benchmarks\n\nAudit a Google Business Profile the way a nearby customer and a local competitor see it. The actor\nopens a signed-out Google Maps profile, measures what is filled in, reads the newest reviews and\nowner replies, checks owner posts and a gallery sample, then ranks the business against the live\nMaps results for a keyword at its own location. Every row ends with a 0-100 score, the evidence for\neach check, the peer medians and a short list of fixes ordered by the points they can recover.\n\nNo Google login, cookies, browser, API key or separate scraper is needed.\n\n## What makes it different\n\n- **Review velocity is measured, not guessed.** The actor walks Google's newest-first review feed\n  until it has covered the last 30 and 90 days (or the per-business cap). It reports the counts,\n  the covered window and whether the window is complete; a capped sample is labelled `estimated`\n  instead of being presented as a total.\n- **Owner behaviour is counted over the sample.** Reply rate and median reply delay come from the\n  same reviews, with exact reply dates when Google exposes them and an explicitly approximate\n  method when it only prints \"2 weeks ago\".\n- **Competitors are the real local pack.** One keyword search anchored at the business's coordinates\n  gives the rank and the first N places a customer nearby sees; the audit compares score, rating,\n  review volume and velocity, reply rate, photos, attributes and post recency against their medians.\n- **Media is split by contributor.** A small public gallery sample is classified through each item's\n  contributor metadata, so owner photos and customer photos are reported separately (sample-scoped).\n- **Per-check evidence.** Every check carries its points, maximum, found value, why it matters and\n  the fix. Unknown checks are excluded from the score, and `coverage` shows how much of the rubric\n  could be assessed.\n\n## Input modes\n\n| Mode | Use it with | What happens |\n|---|---|---|\n| `business` | `businessName` + `city` (and optionally `primaryKeyword`) | Finds the matching place, then audits it and the keyword's local competitors. |\n| `place` | `placeUrls`: Maps place links, `ChIJ...` Place IDs, `0x...:0x...` feature IDs or `maps.app.goo.gl` share links | Verifies each place against Google's place header before auditing it. Several targets can be audited in one run. |\n\n`primaryKeyword` is the customer search used for rank and competitors (for example `pizza`,\n`emergency plumber`, `dentist`). When it is empty the actor uses the profile's primary category.\n\n### Inputs and defaults\n\n| Input | Default | Effect |\n|---|---|---|\n| `mode` | `business` | `business` finds by name + city; `place` verifies each supplied link/ID. |\n| `businessName` | `Joe's Pizza` | Business name for `business` mode. |\n| `city` | `New York` | City/location for `business` mode. |\n| `placeUrls` | `[]` | Maps place links, `ChIJ...` Place IDs, feature IDs or share links for `place` mode. |\n| `primaryKeyword` | `pizza` | Customer search used for rank and competitors; empty uses the primary category. |\n| `competitorCount` | `5` | Top N local results to benchmark (0-20). 0 disables discovery. |\n| `includeCompetitors` | `true` | Run the keyword search and comparison. |\n| `includeCompetitorRecords` | `true` | Emit a separate row per competitor with its own checklist and score. |\n| `includeClosedCompetitors` | `false` | Keep permanently closed places in the benchmark. |\n| `maxReviewsPerBusiness` | `180` | Newest-first review cap; the walk stops earlier once 90 days are covered. |\n| `includePosts` | `true` | Read visible owner updates/offers/events and score the latest post date. |\n| `maxPostsPerBusiness` | `3` | Recent posts included per row (1-20). |\n| `includeMediaBreakdown` | `true` | Read a small gallery sample for video presence and the owner/customer split. |\n| `photoSampleSize` | `10` | Gallery items in that sample (1-30). |\n| `includePhotoOwnerSplit` | `true` | Fetch contributor metadata and classify owner vs customer photos. |\n| `language` | `en` | Maps interface language (100+ codes). |\n| `country` | `us` | Country context (`gl`): us, gb, ca, au, de, fr, es, it, nl, br, in, jp, mx. |\n| `maxItems` | `50` | Hard cap on dataset rows, including notes for unresolved inputs. |\n\n## Output\n\nEach row has `recordType`: `audit` (the requested business), `competitor` (a benchmarked local\nplace), or `note` (an input that could not be resolved).\n\n**Identity and profile:** `name`, `placeId`, `featureId`, `cid`, `address`, `latitude`, `longitude`,\n`categories`, `primaryCategory`, `secondaryCategories`, `rating`, `reviewsCount`,\n`ratingHistogram`, `reviewTopics`, `description`, `website`, `phone`, `openingHours`,\n`hoursComplete`, `hoursMissingDays`, `specialHoursNotices`, `attributes`, `attributeCount`,\n`serviceOptions`, `photoCount`, `actionLinks`, `menuLink`, `bookingLink`, `orderLink`,\n`hasBookingOrMenuLink`, `businessStatus`, `mapsUrl`.\n\n**Activity and reviews:** `reviewSampleSize`, `reviewSampleCoveredDays`, `reviewsLast30d`,\n`reviewsLast90d`, `reviewsLast30dComplete`, `reviewsLast90dComplete`, `reviewVelocity30d`,\n`reviewVelocity90d`, `reviewVelocityMethod`, `ownerReplyRate`, `ownerReplyCount`,\n`ownerMedianReplyDays`, `ownerReplyDelayMethod`, `reviewFeedStatus`, `postCount30d`,\n`postCount90d`, `latestPostAt`, `latestPostDaysAgo`, `recentPosts`, `mediaSampleSize`,\n`videoSampleCount`, `ownerPhotoSampleCount`, `visitorPhotoSampleCount`, `ownerPhotoSampleShare`.\n\n**Audit and benchmark (audit row):** `score`, `grade`, `coverage`, `earnedPoints`,\n`assessedWeight`, `scoreBreakdown`, `checks[]`, `benchmark`, `gapsVsCompetitorMedian[]`,\n`prioritizedFixes[]`, `limitations[]`.\n\nNo reviewer names, review text, avatars or profile links are written. The review feed is reduced to\ndates, ratings, reply dates and counts.\n\n## The 100-point rubric\n\nEvery check is worth the points below. `partial` earns a fraction; `unknown` earns nothing but is\nalso removed from the denominator, so a business is never punished for data Google did not expose.\n`coverage` is the assessed share of the 100 points.\n\n| Area | Check | Points | Full marks when |\n|---|---|---|---|\n| Profile | Website | 6 | A website URL is linked |\n| Profile | Phone | 4 | A phone number is listed |\n| Profile | Opening hours | 8 | All seven days have hours |\n| Profile | Description | 6 | At least 80 characters |\n| Profile | Categories | 4 | Primary plus at least one additional category |\n| Profile | Attributes | 4 | At least five attributes |\n| Media | Photos | 8 | 100+ photos (25+ = 6, 10+ = 4, 1+ = 2) |\n| Media | Fresh photos | 3 | A sampled photo is at most 90 days old |\n| Media | Owner posts | 7 | Latest visible post is at most 30 days old |\n| Media | Video | 2 | A video appears in the gallery sample |\n| Reviews | Rating | 7 | 4.5+ (4.0+ = 5, 3.5+ = 3, 3.0+ = 1) |\n| Reviews | Review volume | 7 | 100+ reviews (50+ = 5, 20+ = 3, 5+ = 1) |\n| Reviews | Reviews in 30 days | 7 | 3+ in a complete 30-day window (1-2 = 5) |\n| Reviews | Owner reply rate | 7 | 80%+ of the sample (50%+ = 5, 20%+ = 3, >0 = 1) |\n| Reviews | Reply speed | 3 | Median delay at most 7 days (30 days = 2, slower = 1) |\n| Visibility | Keyword rank | 9 | Rank 1-3 (4-10 = 7, 11-20 = 4, lower = 1) |\n| Conversion | Booking/order/menu link | 6 | Any such link is shown, for categories that use one |\n| Profile | Special-hours notice | 2 | Google shows a holiday-hours notice |\n\nGrades: **A** 85+, **B** 70+, **C** 55+, **D** 40+, **F** below 40. The score is an editorial\ncompleteness and activity rubric, not Google's ranking algorithm.\n\n## How the benchmark works\n\nThe keyword search is run at the business's coordinates. The requested business's position is its\n`keywordRank`; the other places, excluding other branches of the same brand, become the competitor\nset. Each competitor is enriched the same way as the target. The benchmark reports the competitor\nmedians and gaps for score, rating, reviews, 90-day velocity, reply rate, photos, attributes and\ndays since the latest post. `prioritizedFixes` merges failed checks and benchmark gaps, highest\nrecoverable points first. A business that is absent from the checked result window gets\n`keywordRank` omitted and a failed rank check; a search that did not run leaves the check unknown.\n\n## Limits\n\n- **Claim status is not reported.** Google's signed-out feeds expose the owner identity and owner\n  tools but not a reliable claimed/unclaimed flag, so the actor does not guess it or score it.\n- **Review coverage.** The newest-first feed is complete until it reaches the cap. If the cap is hit\n  before a window closes, the window's count is a lower bound and the velocity is marked\n  `estimated`. Very high-volume profiles can hit the cap before 90 days.\n- **Owner replies.** Exact reply dates are used when Google exposes them; otherwise the median uses\n  Google's relative label (\"2 weeks ago\") and is marked `approximate`.\n- **Media.** `photoCount` is the profile total. Video presence and the owner/customer split use only\n  the sampled items from Google's public gallery; the sample is never presented as the full library.\n- **Posts.** Missing visible posts do not prove inactivity; they mean Google exposed no post panel.\n- **Links and attributes.** Only the links, categories and attributes Google prints for the place\n  are reported. Owner-dashboard-only fields are out of scope.\n- **Rank variability.** Rank is a signed-out result list and can differ by location, language, time\n  and Google's personalisation. It is a snapshot, not a guaranteed position.\n- **Language.** Labels, categories and hours follow the selected `language`; the rubric itself is\n  language-independent. Use the business's own country for the most representative result list.\n\n## Example\n\n```json\n{\n  \"mode\": \"business\",\n  \"businessName\": \"Joe's Pizza\",\n  \"city\": \"New York\",\n  \"primaryKeyword\": \"pizza\",\n  \"competitorCount\": 3,\n  \"maxReviewsPerBusiness\": 180\n}\n```\n\nThe first row is the audit for Joe's Pizza; the next rows are the benchmarked local pizza places.\nEach audit row lists every failed or partial check, the peer median it missed and the fix that\nrecovers the most points first.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "google-business-profile-audit",
      "title": "Google Business Profile Audit & Local Rival Benchmark",
      "description": "Audit a Google Business Profile against the live local results for a keyword. Scores profile, media, review and visibility gaps, measures 30/90-day review velocity and owner replies, and returns peer benchmarks and prioritised fixes. Cookieless, no browser, no API key.",
      "version": "1.0",
      "buildTag": "latest",
      "input": {
        "title": "Google Business Profile Audit Input",
        "description": "Audit one or more Google Business Profiles against the live local competitors Google Maps ranks for a keyword, with review velocity, owner replies, posts, photos and a prioritised fix list.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Input mode",
            "type": "string",
            "description": "Find the business by name + city, or audit exact Google Maps place links/IDs.",
            "editor": "select",
            "enum": [
              "business",
              "place"
            ],
            "enumTitles": [
              "Business name + city",
              "Google Maps place links / IDs"
            ],
            "default": "business",
            "prefill": "business",
            "sectionCaption": "Business"
          },
          "businessName": {
            "title": "Business name",
            "type": "string",
            "description": "Exact business name to find (mode=business). Example: Joe's Pizza.",
            "editor": "textfield",
            "default": "Joe's Pizza",
            "prefill": "Joe's Pizza"
          },
          "city": {
            "title": "City or location",
            "type": "string",
            "description": "City, neighbourhood or address used to find the business (mode=business).",
            "editor": "textfield",
            "default": "New York",
            "prefill": "New York"
          },
          "placeUrls": {
            "title": "Google Maps place links or IDs",
            "type": "array",
            "description": "Maps place URLs, Place IDs (ChIJ...), feature IDs (0x...:0x...), CIDs, or maps.app.goo.gl share links (mode=place). Each is verified against Google's place header before it is audited.",
            "editor": "stringList",
            "default": [],
            "prefill": [],
            "sectionCaption": "Audit"
          },
          "primaryKeyword": {
            "title": "Primary local keyword",
            "type": "string",
            "description": "The search a customer would use near the business (e.g. pizza, emergency plumber, dentist). Empty uses the primary category.",
            "editor": "textfield",
            "default": "pizza",
            "prefill": "pizza"
          },
          "competitorCount": {
            "title": "Competitors to benchmark",
            "type": "integer",
            "description": "Top N live Google Maps results for the keyword near the business, excluding the business itself and other branches of the same brand. 0 disables competitor discovery.",
            "minimum": 0,
            "maximum": 20,
            "default": 5,
            "prefill": 1
          },
          "includeCompetitors": {
            "title": "Discover competitors",
            "type": "boolean",
            "description": "Run the keyword search and benchmark against the live local results.",
            "default": true,
            "prefill": true
          },
          "includeCompetitorRecords": {
            "title": "Emit one row per competitor",
            "type": "boolean",
            "description": "When on, each benchmarked competitor is a separate dataset row with its own checklist and score. Off keeps only the audit row with the benchmark table.",
            "default": true,
            "prefill": true
          },
          "includeClosedCompetitors": {
            "title": "Include permanently closed competitors",
            "type": "boolean",
            "description": "Keep places Google marks permanently closed in the benchmark.",
            "default": false,
            "prefill": false
          },
          "maxReviewsPerBusiness": {
            "title": "Reviews to read per business",
            "type": "integer",
            "description": "Newest-first review sample per business. The walk stops at this cap or once the 90-day window is covered, whichever comes first. More reviews improve velocity and reply accuracy.",
            "minimum": 20,
            "maximum": 600,
            "default": 180,
            "prefill": 60
          },
          "includePosts": {
            "title": "Owner posts",
            "type": "boolean",
            "description": "Read the visible owner updates, offers and events and score the latest post date.",
            "default": true,
            "prefill": true
          },
          "maxPostsPerBusiness": {
            "title": "Recent posts to output",
            "type": "integer",
            "description": "How many recent owner posts to include per business in the row.",
            "minimum": 1,
            "maximum": 20,
            "default": 3,
            "prefill": 2
          },
          "includeMediaBreakdown": {
            "title": "Owner/customer photo + video sample",
            "type": "boolean",
            "description": "Read a small public gallery sample to split owner vs customer photos and detect video. Adds one request per sampled item.",
            "default": true,
            "prefill": false
          },
          "photoSampleSize": {
            "title": "Gallery items in the media sample",
            "type": "integer",
            "description": "Public gallery items read per business for the owner/customer split and video presence.",
            "minimum": 1,
            "maximum": 30,
            "default": 10,
            "prefill": 10
          },
          "includePhotoOwnerSplit": {
            "title": "Classify photo owner",
            "type": "boolean",
            "description": "Fetch each sampled item's contributor metadata and compare it with the profile's owner identity.",
            "default": true,
            "prefill": false
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google Maps interface language for labels, categories and hours.",
            "editor": "select",
            "enum": [
              "en",
              "af",
              "az",
              "id",
              "ms",
              "bs",
              "ca",
              "cs",
              "da",
              "de",
              "et",
              "es",
              "es-419",
              "eu",
              "fil",
              "fr",
              "gl",
              "hr",
              "zu",
              "is",
              "it",
              "sw",
              "lv",
              "lt",
              "hu",
              "nl",
              "no",
              "uz",
              "pl",
              "pt-BR",
              "pt-PT",
              "ro",
              "sq",
              "sk",
              "sl",
              "fi",
              "sv",
              "vi",
              "tr",
              "el",
              "bg",
              "ky",
              "kk",
              "mk",
              "mn",
              "ru",
              "sr",
              "uk",
              "ka",
              "hy",
              "iw",
              "ur",
              "ar",
              "fa",
              "am",
              "ne",
              "hi",
              "mr",
              "bn",
              "pa",
              "gu",
              "ta",
              "te",
              "kn",
              "ml",
              "si",
              "th",
              "lo",
              "my",
              "km",
              "ko",
              "ja",
              "zh-CN",
              "zh-TW"
            ],
            "enumTitles": [
              "English",
              "Afrikaans",
              "azərbaycan",
              "Bahasa Indonesia",
              "Bahasa Melayu",
              "bosanski",
              "català",
              "Čeština",
              "Dansk",
              "Deutsch",
              "eesti",
              "Español",
              "Español (Latinoamérica)",
              "euskara",
              "Filipino",
              "Français",
              "galego",
              "Hrvatski",
              "isiZulu",
              "íslenska",
              "Italiano",
              "Kiswahili",
              "latviešu",
              "lietuvių",
              "magyar",
              "Nederlands",
              "norsk",
              "oʻzbekcha",
              "polski",
              "Português (Brasil)",
              "Português (Portugal)",
              "română",
              "shqip",
              "Slovenčina",
              "slovenščina",
              "Suomi",
              "Svenska",
              "Tiếng Việt",
              "Türkçe",
              "Ελληνικά",
              "български",
              "кыргызча",
              "қазақ тілі",
              "македонски",
              "монгол",
              "Русский",
              "српски",
              "Українська",
              "ქართული",
              "հայերեն",
              "עברית",
              "اردو",
              "العربية",
              "فارسی",
              "አማርኛ",
              "नेपाली",
              "हिन्दी",
              "मराठी",
              "বাংলা",
              "ਪੰਜਾਬੀ",
              "ગુજરાતી",
              "தமிழ்",
              "తెలుగు",
              "ಕನ್ನಡ",
              "മലയാളം",
              "සිංහල",
              "ไทย",
              "ລາວ",
              "ဗမာ",
              "ខ្មែរ",
              "한국어",
              "日本語",
              "简体中文",
              "繁體中文"
            ],
            "default": "en",
            "prefill": "en",
            "sectionCaption": "Locale"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Country context sent to Google Maps (gl). Use the business's own country.",
            "editor": "select",
            "enum": [
              "us",
              "gb",
              "ca",
              "au",
              "de",
              "fr",
              "es",
              "it",
              "nl",
              "br",
              "in",
              "jp",
              "mx"
            ],
            "enumTitles": [
              "United States",
              "United Kingdom",
              "Canada",
              "Australia",
              "Germany",
              "France",
              "Spain",
              "Italy",
              "Netherlands",
              "Brazil",
              "India",
              "Japan",
              "Mexico"
            ],
            "default": "us",
            "prefill": "us"
          },
          "maxItems": {
            "title": "Max dataset items",
            "type": "integer",
            "description": "Hard cap on emitted rows (audit rows + competitor rows + notes).",
            "minimum": 1,
            "maximum": 1000,
            "default": 50,
            "prefill": 10
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Google Business Profile Audit Output",
        "description": "Audit rows and benchmark competitor rows for Google Business Profiles: identity, profile fields, review velocity and replies, posts, media sample, 0-100 score with per-check evidence, competitor medians, gaps and prioritised fixes.",
        "properties": {
          "audits": {
            "type": "string",
            "title": "Business audits",
            "description": "One row per audited business (recordType=audit) plus one row per benchmarked competitor (recordType=competitor) and notes for unresolved inputs.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "audits": {
              "title": "Business Audits",
              "transformation": {
                "fields": [
                  "recordType",
                  "name",
                  "primaryKeyword",
                  "keywordRank",
                  "score",
                  "grade",
                  "coverage",
                  "rating",
                  "reviewsCount",
                  "reviewVelocity30d",
                  "ownerReplyRate",
                  "photoCount",
                  "latestPostAt",
                  "benchmark.competitorMedianScore",
                  "mapsUrl",
                  "scrapedAt"
                ]
              },
              "display": {
                "component": "table",
                "properties": {
                  "name": {
                    "label": "Business"
                  },
                  "primaryKeyword": {
                    "label": "Keyword"
                  },
                  "keywordRank": {
                    "label": "Rank"
                  },
                  "score": {
                    "label": "Score"
                  },
                  "grade": {
                    "label": "Grade"
                  },
                  "rating": {
                    "label": "Rating"
                  },
                  "reviewsCount": {
                    "label": "Reviews"
                  },
                  "reviewVelocity30d": {
                    "label": "Reviews / 30d"
                  },
                  "ownerReplyRate": {
                    "label": "Reply rate"
                  },
                  "photoCount": {
                    "label": "Photos"
                  },
                  "benchmark.competitorMedianScore": {
                    "label": "Peer median score"
                  },
                  "mapsUrl": {
                    "label": "Maps URL"
                  }
                }
              }
            },
            "allBusinesses": {
              "title": "All Audited Businesses",
              "transformation": {
                "fields": [
                  "recordType",
                  "isTarget",
                  "name",
                  "primaryCategory",
                  "keywordRank",
                  "score",
                  "grade",
                  "coverage",
                  "rating",
                  "reviewsCount",
                  "reviewVelocity90d",
                  "ownerReplyRate",
                  "photoCount",
                  "latestPostDaysAgo",
                  "mapsUrl"
                ]
              },
              "display": {
                "component": "table"
              }
            }
          }
        }
      },
      "environmentVariables": {},
      "minMemoryMbytes": 512,
      "maxMemoryMbytes": 1024,
      "readme": "# Google Business Profile Audit & Local Rival Benchmarks\n\nAudit a Google Business Profile the way a nearby customer and a local competitor see it. The actor\nopens a signed-out Google Maps profile, measures what is filled in, reads the newest reviews and\nowner replies, checks owner posts and a gallery sample, then ranks the business against the live\nMaps results for a keyword at its own location. Every row ends with a 0-100 score, the evidence for\neach check, the peer medians and a short list of fixes ordered by the points they can recover.\n\nNo Google login, cookies, browser, API key or separate scraper is needed.\n\n## What makes it different\n\n- **Review velocity is measured, not guessed.** The actor walks Google's newest-first review feed\n  until it has covered the last 30 and 90 days (or the per-business cap). It reports the counts,\n  the covered window and whether the window is complete; a capped sample is labelled `estimated`\n  instead of being presented as a total.\n- **Owner behaviour is counted over the sample.** Reply rate and median reply delay come from the\n  same reviews, with exact reply dates when Google exposes them and an explicitly approximate\n  method when it only prints \"2 weeks ago\".\n- **Competitors are the real local pack.** One keyword search anchored at the business's coordinates\n  gives the rank and the first N places a customer nearby sees; the audit compares score, rating,\n  review volume and velocity, reply rate, photos, attributes and post recency against their medians.\n- **Media is split by contributor.** A small public gallery sample is classified through each item's\n  contributor metadata, so owner photos and customer photos are reported separately (sample-scoped).\n- **Per-check evidence.** Every check carries its points, maximum, found value, why it matters and\n  the fix. Unknown checks are excluded from the score, and `coverage` shows how much of the rubric\n  could be assessed.\n\n## Input modes\n\n| Mode | Use it with | What happens |\n|---|---|---|\n| `business` | `businessName` + `city` (and optionally `primaryKeyword`) | Finds the matching place, then audits it and the keyword's local competitors. |\n| `place` | `placeUrls`: Maps place links, `ChIJ...` Place IDs, `0x...:0x...` feature IDs or `maps.app.goo.gl` share links | Verifies each place against Google's place header before auditing it. Several targets can be audited in one run. |\n\n`primaryKeyword` is the customer search used for rank and competitors (for example `pizza`,\n`emergency plumber`, `dentist`). When it is empty the actor uses the profile's primary category.\n\n### Inputs and defaults\n\n| Input | Default | Effect |\n|---|---|---|\n| `mode` | `business` | `business` finds by name + city; `place` verifies each supplied link/ID. |\n| `businessName` | `Joe's Pizza` | Business name for `business` mode. |\n| `city` | `New York` | City/location for `business` mode. |\n| `placeUrls` | `[]` | Maps place links, `ChIJ...` Place IDs, feature IDs or share links for `place` mode. |\n| `primaryKeyword` | `pizza` | Customer search used for rank and competitors; empty uses the primary category. |\n| `competitorCount` | `5` | Top N local results to benchmark (0-20). 0 disables discovery. |\n| `includeCompetitors` | `true` | Run the keyword search and comparison. |\n| `includeCompetitorRecords` | `true` | Emit a separate row per competitor with its own checklist and score. |\n| `includeClosedCompetitors` | `false` | Keep permanently closed places in the benchmark. |\n| `maxReviewsPerBusiness` | `180` | Newest-first review cap; the walk stops earlier once 90 days are covered. |\n| `includePosts` | `true` | Read visible owner updates/offers/events and score the latest post date. |\n| `maxPostsPerBusiness` | `3` | Recent posts included per row (1-20). |\n| `includeMediaBreakdown` | `true` | Read a small gallery sample for video presence and the owner/customer split. |\n| `photoSampleSize` | `10` | Gallery items in that sample (1-30). |\n| `includePhotoOwnerSplit` | `true` | Fetch contributor metadata and classify owner vs customer photos. |\n| `language` | `en` | Maps interface language (100+ codes). |\n| `country` | `us` | Country context (`gl`): us, gb, ca, au, de, fr, es, it, nl, br, in, jp, mx. |\n| `maxItems` | `50` | Hard cap on dataset rows, including notes for unresolved inputs. |\n\n## Output\n\nEach row has `recordType`: `audit` (the requested business), `competitor` (a benchmarked local\nplace), or `note` (an input that could not be resolved).\n\n**Identity and profile:** `name`, `placeId`, `featureId`, `cid`, `address`, `latitude`, `longitude`,\n`categories`, `primaryCategory`, `secondaryCategories`, `rating`, `reviewsCount`,\n`ratingHistogram`, `reviewTopics`, `description`, `website`, `phone`, `openingHours`,\n`hoursComplete`, `hoursMissingDays`, `specialHoursNotices`, `attributes`, `attributeCount`,\n`serviceOptions`, `photoCount`, `actionLinks`, `menuLink`, `bookingLink`, `orderLink`,\n`hasBookingOrMenuLink`, `businessStatus`, `mapsUrl`.\n\n**Activity and reviews:** `reviewSampleSize`, `reviewSampleCoveredDays`, `reviewsLast30d`,\n`reviewsLast90d`, `reviewsLast30dComplete`, `reviewsLast90dComplete`, `reviewVelocity30d`,\n`reviewVelocity90d`, `reviewVelocityMethod`, `ownerReplyRate`, `ownerReplyCount`,\n`ownerMedianReplyDays`, `ownerReplyDelayMethod`, `reviewFeedStatus`, `postCount30d`,\n`postCount90d`, `latestPostAt`, `latestPostDaysAgo`, `recentPosts`, `mediaSampleSize`,\n`videoSampleCount`, `ownerPhotoSampleCount`, `visitorPhotoSampleCount`, `ownerPhotoSampleShare`.\n\n**Audit and benchmark (audit row):** `score`, `grade`, `coverage`, `earnedPoints`,\n`assessedWeight`, `scoreBreakdown`, `checks[]`, `benchmark`, `gapsVsCompetitorMedian[]`,\n`prioritizedFixes[]`, `limitations[]`.\n\nNo reviewer names, review text, avatars or profile links are written. The review feed is reduced to\ndates, ratings, reply dates and counts.\n\n## The 100-point rubric\n\nEvery check is worth the points below. `partial` earns a fraction; `unknown` earns nothing but is\nalso removed from the denominator, so a business is never punished for data Google did not expose.\n`coverage` is the assessed share of the 100 points.\n\n| Area | Check | Points | Full marks when |\n|---|---|---|---|\n| Profile | Website | 6 | A website URL is linked |\n| Profile | Phone | 4 | A phone number is listed |\n| Profile | Opening hours | 8 | All seven days have hours |\n| Profile | Description | 6 | At least 80 characters |\n| Profile | Categories | 4 | Primary plus at least one additional category |\n| Profile | Attributes | 4 | At least five attributes |\n| Media | Photos | 8 | 100+ photos (25+ = 6, 10+ = 4, 1+ = 2) |\n| Media | Fresh photos | 3 | A sampled photo is at most 90 days old |\n| Media | Owner posts | 7 | Latest visible post is at most 30 days old |\n| Media | Video | 2 | A video appears in the gallery sample |\n| Reviews | Rating | 7 | 4.5+ (4.0+ = 5, 3.5+ = 3, 3.0+ = 1) |\n| Reviews | Review volume | 7 | 100+ reviews (50+ = 5, 20+ = 3, 5+ = 1) |\n| Reviews | Reviews in 30 days | 7 | 3+ in a complete 30-day window (1-2 = 5) |\n| Reviews | Owner reply rate | 7 | 80%+ of the sample (50%+ = 5, 20%+ = 3, >0 = 1) |\n| Reviews | Reply speed | 3 | Median delay at most 7 days (30 days = 2, slower = 1) |\n| Visibility | Keyword rank | 9 | Rank 1-3 (4-10 = 7, 11-20 = 4, lower = 1) |\n| Conversion | Booking/order/menu link | 6 | Any such link is shown, for categories that use one |\n| Profile | Special-hours notice | 2 | Google shows a holiday-hours notice |\n\nGrades: **A** 85+, **B** 70+, **C** 55+, **D** 40+, **F** below 40. The score is an editorial\ncompleteness and activity rubric, not Google's ranking algorithm.\n\n## How the benchmark works\n\nThe keyword search is run at the business's coordinates. The requested business's position is its\n`keywordRank`; the other places, excluding other branches of the same brand, become the competitor\nset. Each competitor is enriched the same way as the target. The benchmark reports the competitor\nmedians and gaps for score, rating, reviews, 90-day velocity, reply rate, photos, attributes and\ndays since the latest post. `prioritizedFixes` merges failed checks and benchmark gaps, highest\nrecoverable points first. A business that is absent from the checked result window gets\n`keywordRank` omitted and a failed rank check; a search that did not run leaves the check unknown.\n\n## Limits\n\n- **Claim status is not reported.** Google's signed-out feeds expose the owner identity and owner\n  tools but not a reliable claimed/unclaimed flag, so the actor does not guess it or score it.\n- **Review coverage.** The newest-first feed is complete until it reaches the cap. If the cap is hit\n  before a window closes, the window's count is a lower bound and the velocity is marked\n  `estimated`. Very high-volume profiles can hit the cap before 90 days.\n- **Owner replies.** Exact reply dates are used when Google exposes them; otherwise the median uses\n  Google's relative label (\"2 weeks ago\") and is marked `approximate`.\n- **Media.** `photoCount` is the profile total. Video presence and the owner/customer split use only\n  the sampled items from Google's public gallery; the sample is never presented as the full library.\n- **Posts.** Missing visible posts do not prove inactivity; they mean Google exposed no post panel.\n- **Links and attributes.** Only the links, categories and attributes Google prints for the place\n  are reported. Owner-dashboard-only fields are out of scope.\n- **Rank variability.** Rank is a signed-out result list and can differ by location, language, time\n  and Google's personalisation. It is a snapshot, not a guaranteed position.\n- **Language.** Labels, categories and hours follow the selected `language`; the rubric itself is\n  language-independent. Use the business's own country for the most representative result list.\n\n## Example\n\n```json\n{\n  \"mode\": \"business\",\n  \"businessName\": \"Joe's Pizza\",\n  \"city\": \"New York\",\n  \"primaryKeyword\": \"pizza\",\n  \"competitorCount\": 3,\n  \"maxReviewsPerBusiness\": 180\n}\n```\n\nThe first row is the audit for Joe's Pizza; the next rows are the benchmarked local pizza places.\nEach audit row lists every failed or partial check, the peer median it missed and the fix that\nrecovers the most points first.\n"
    },
    "buildNumber": "1.0.3",
    "imageDigest": "0355b58c27e222876b52a635a495de6cc183234196131415027eec362429e99d",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.005424444444444444
    }
  }
}