Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.29 KB

File metadata and controls

28 lines (22 loc) · 1.29 KB

Zernio::GoogleBusinessPlatformData

Properties

Name Type Description Notes
location_id String Target GBP location ID (e.g. "locations/123456789"). If omitted, uses the default location. Use GET /v1/accounts/{id}/gmb-locations to list locations. [optional]
language_code String BCP 47 language code (e.g. "en", "de", "es"). Auto-detected if omitted. Set explicitly for short or mixed-language posts. [optional]
topic_type String Post type. STANDARD is a regular update. EVENT requires the event object. OFFER requires the offer object. Defaults to STANDARD if omitted. [optional][default to 'STANDARD']
call_to_action GoogleBusinessPlatformDataCallToAction [optional]
event GoogleBusinessPlatformDataEvent [optional]
offer GoogleBusinessPlatformDataOffer [optional]

Example

require 'zernio-sdk'

instance = Zernio::GoogleBusinessPlatformData.new(
  location_id: null,
  language_code: de,
  topic_type: null,
  call_to_action: null,
  event: null,
  offer: null
)