GMB Media

Creates a media item (photo) for a location from a publicly accessible URL.

Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.

post/v1/accounts/{accountId}/gmb-media

Request

  • Base URL: https://zernio.com/api
  • URL: https://zernio.com/api/v1/accounts/{accountId}/gmb-media
  • Auth: HTTP bearer

Path parameters

accountIdstring required

Query parameters

locationIdstring

Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.

Request body

sourceUrlstring uri required

Publicly accessible image URL

mediaFormat'PHOTO' | 'VIDEO'
descriptionstring

Photo description

category'CATEGORY_UNSPECIFIED' | 'COVER' | 'PROFILE' | 'LOGO' | 'EXTERIOR' | 'INTERIOR' | 'PRODUCT' | 'FOOD_AND_DRINK' | 'MENU' | 'COMMON_AREA' | 'ROOMS' | 'TEAMS' | 'AT_WORK' | 'ADDITIONAL'

Where the photo appears on the listing

Response

Media created successfully

successboolean
namestring
mediaFormatstring
googleUrlstring

Changes

    • warning

      added the new account enum value to the / response property for the response status

    • warning

      added the new account enum value to the / response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status