Create a local post
create_local_postPublish a local post to a Google Business Profile location, with options for standard text, events, offers, alerts, and calls-to-action.
Instructions
Publishes a new local post on the Business Profile. Pass the LocalPost as post. LocalPost fields: languageCode; summary (the post text); topicType (STANDARD | EVENT | OFFER | ALERT); callToAction {actionType: BOOK | ORDER | SHOP | LEARN_MORE | SIGN_UP | CALL, url}; event {title, schedule{startDate{year,month,day}, startTime{hours,minutes}, endDate, endTime}} — required for EVENT and OFFER; offer {couponCode, redeemOnlineUrl, termsConditions}; media [{mediaFormat: "PHOTO", sourceUrl}]. ALERT posts are restricted to Google-initiated campaigns and are typically rejected. Returns the created post with its name and state (a fresh post is usually PROCESSING before it goes LIVE). Counts against the 10 edits/min per-profile cap. Local posts live only on the legacy v4 API (mybusiness.googleapis.com) — they were never migrated to v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | The LocalPost to create, e.g. {"languageCode": "en", "topicType": "STANDARD", "summary": "Fresh croissants every morning!", "callToAction": {"actionType": "LEARN_MORE", "url": "https://example.com"}}. | |
| accountId | Yes | Account id — bare "123" or "accounts/123". | |
| locationId | Yes | Location id — bare "456", "locations/456" or "accounts/1/locations/456". |