Core APIs
...
Google
Google Places & Maps

Photos

3min

Google Place Photos Results

DESKTOP TABLET MOBILE

Scale SERP parses the Place Photos results the place_photos_results array in the JSON output when the search_type=place_photos request parameter is set and the data_id request parameter is set to a valid data_id as-returned by a search_type=places Places requests.

Google Place Photos Results
Google Place Photos Results


Below is an example of how the Place Photos are represented in the Scale SERP result JSON:

JSON



Scale SERP returns the following properties for search_type=place_photos requests:

Property

Type

Description

place_photos_results

array

An array of Place Photo result objects, containing each of the Place Photo results returned. The Place Photo Result object has the following properties:

  • thumbnail
  • string
  • An image URL to the thumbnail image of the place photo result.



  • image
  • string
  • An image URL to the full-size image of the place photo result.

categories

array

An array of Category objects. You can take the id of a category and pass it in to the category_id parameter of a subsequent search_type=place_photos request to retrieve place photos belonging to that category.

  • 

    Document image
    



  • title
  • string
  • The title of the category.



  • id
  • string
  • The ID of the category. Can be passed in to the category_id parameter of a subsequent search_type=place_photos request to retrieve place photos belonging to that category.

pagination

object

  • next_page_token
  • string
  • A token that can be passed in a subsequent search_type=place_photos request to provide the next page of Place Photos results. Note Place Photo results do not contain a traditional pagination section where a specific page of results is uniquely addressable. Instead the next_page_token can be passed in to the next_page_token request parameter to retrieve the next page of place photo results.


Next Steps      Google Place Photos Parameters

Updated 13 Aug 2024
Did this page help you?