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

This message is used for storing smartphone related information. Note: MobilePerDocData is a similar message, but it's for lowend mobile.

Attributes

  • DEPRECATEDDesktopCanonicalDocid (type: String.t, default: nil) - If set, this page is a smartphone dup, a page serving equivalent contents as another URL (desktop canonical), but in smartphone-optimized style. This field holds the docid of the desktop canonical.
  • DEPRECATEDMobileHomepageDocid (type: String.t, default: nil) - Mobile URL for homepages, predicted by the URL rewrite rules. See go/mobile-homepage-prediction.
  • adsDensityInterstitialViolationStrength (type: integer(), default: nil) - Indicates if the page is violating mobile ads density interstitial policy and the violation strength. See go/interstitials-for-ads and http://ariane/268642 for details. To save indexing space, we convert the double values in [0.0, 1.0] to intergers in range [0, 1000] by using floor(value * 1000).
  • isErrorPage (type: boolean(), default: nil) - Indicates if the page serves error to smartphone crawler. go/ramsey-sp404demotion
  • isN1Redirect (type: boolean(), default: nil) - Indicates if the page has mobile N-1 redirection. go/ramsey-n1demotion
  • isSmartphoneOptimized (type: boolean(), default: nil) - Indicates if the page is rendered in a friendly manner on smartphones. We use this field as tri-state: "unset" means the rendering result classification is not available, and "set as false" means that the page is rendered in unfriendly manner on smartphones. See also go/modena-ranking.
  • isWebErrorMobileContent (type: boolean(), default: nil) - Indicates if the current URL serves error page to desktop crawler and non error page to smartphone crawler.
  • maximumFlashRatio (type: float(), default: nil) - The ratio of the area of the largest Flash to the render area.
  • violatesMobileInterstitialPolicy (type: boolean(), default: nil) - Indicates if the page is violating mobile interstitial policy and should be demoted. See go/interstitials-ranking-dd for details.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SmartphonePerDocData{
  DEPRECATEDDesktopCanonicalDocid: String.t() | nil,
  DEPRECATEDMobileHomepageDocid: String.t() | nil,
  adsDensityInterstitialViolationStrength: integer() | nil,
  isErrorPage: boolean() | nil,
  isN1Redirect: boolean() | nil,
  isSmartphoneOptimized: boolean() | nil,
  isWebErrorMobileContent: boolean() | nil,
  maximumFlashRatio: float() | nil,
  violatesMobileInterstitialPolicy: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.