View Source GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocations (google_api_content_warehouse v0.4.0)

List of locations assigned to a document.

Attributes

  • geoLocation (type: list(GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocation.t), default: nil) -
  • isNonLocationSpecific (type: boolean(), default: nil) - This will be set to true for documents which receive several clicks but are not assigned any location because the click distribution is flat. Typical examples are global sites like facebook.com, chains like walmart.com, informational sites like wikipedia.org etc. This flag is not propagated to deeper pages since this signal is meant to indicate that a website or a part of website is conclusively non-local, so propagating this information to deeper pages does not make sense. If this flag is set, then the only possible geo_location will be the ones which are propagated_from_a_subpage.
  • propagationDepthFromParent (type: integer(), default: nil) - Depth of the URL from it's nearest parent in GeoLocation data. Webpages inherhit locations from their parent pages. For example, if foo.com/a is assigned location L1, and foo.com/a/b is not assigned any location, then http://www.foo.com/a/b inherits location L1 from it's nearest parent foo.com/a in GeoLocation data. This attribute is the distance from the nearest parent which is present in GeoLocation data. In this particular case, it will be 1.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocations{
  geoLocation:
    [GoogleApi.ContentWarehouse.V1.Model.CountryGeoLocation.t()] | nil,
  isNonLocationSpecific: boolean() | nil,
  propagationDepthFromParent: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.