CountryLocationInfo

AI Overview😉

  • The potential purpose of this module is to provide Google's search algorithm with geographic location information about a website or webpage, allowing it to better understand the content's relevance to a specific region or location.
  • This module could impact search results by influencing the ranking of websites based on their geographic relevance to the user's search query. For example, if a user searches for "restaurants in New York City", a website with a location specified as "New York City" may be ranked higher than a website with a location specified as "California". This module could also help Google to filter out irrelevant results that are not targeted to the user's location.
  • A website may change things to be more favorable for this function by including clear and accurate geographic location information on their website, such as including their business's address, city, state, and country in their website's metadata or content. Additionally, websites can use schema markup to provide Google with explicit location information, which can help to improve their visibility in location-based search results.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo (google_api_content_warehouse v0.4.0)

This represents one location.

Attributes

  • center (type: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t, default: nil) - The latitude and longitude of the conceptual center of the location. For cities, this would be the center of the downtown, or maybe the location of city hall. For states and countries it might be the capital city. But there are no guarantees and this may be any random point inside the location.
  • city (type: String.t, default: nil) -
  • country (type: String.t, default: nil) - Human readable name hierarchy. Only the relevant fields will be present. For example for city GeoLocations, sub_locality field will not be present. Cleared during index creation.
  • county (type: String.t, default: nil) -
  • enclosingStateFeatureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - Oyster feature ID of the enclosing state. Cleared during index creation.
  • featureId (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t, default: nil) - Oyster feature ID of the location. Cleared during index creation.
  • state (type: String.t, default: nil) -
  • stateIdFprint (type: integer(), default: nil) - 32 bit fingerprint of the feature id of the state of this location. For cities and sub-localities it will be the enclosing state. For state locations, it will be fingerprint of the feture-id of the location itself. Populated during index creation.
  • subLocality (type: String.t, default: nil) -
  • type (type: String.t, default: nil) - Type of the location (sub-locality, city, state etc).

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountryLocationInfo{
  center: GoogleApi.ContentWarehouse.V1.Model.GeostorePointProto.t() | nil,
  city: String.t() | nil,
  country: String.t() | nil,
  county: String.t() | nil,
  enclosingStateFeatureId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  featureId:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreFeatureIdProto.t() | nil,
  state: String.t() | nil,
  stateIdFprint: integer() | nil,
  subLocality: String.t() | nil,
  type: String.t() | nil
}

Functions

Link to this function

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.