TelephoneNumber

AI Overview😉

  • The potential purpose of this module is to extract and standardize telephone number information from web pages, allowing Google to better understand the contact information of a business or organization. This can help improve the accuracy of search results, especially for local searches or searches related to customer service.
  • This module could impact search results by giving preference to websites that provide clear and standardized telephone number information, making it easier for users to contact the business or organization. It may also help Google to identify and filter out fake or misleading contact information, improving the overall quality of search results.
  • To be more favorable for this function, a website can ensure that their telephone number information is accurately formatted and easily accessible. This can be achieved by using a consistent format for phone numbers throughout the website, providing a clear and separate field for the area code, country code, national prefix, and extension, and making sure that the phone number is easily crawlable by search engines. Additionally, using schema markup, such as Google's recommended Telephone type, can help Google to better understand the context and meaning of the phone number information.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Attributes

  • areaCode (type: String.t, default: nil) - The local "area code", if there is such a concept.
  • countryCode (type: integer(), default: nil) - The international direct dialing code for the country, as per ITU E.164: http://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_763.html
  • extension (type: String.t, default: nil) - Extension (to be dialed after connection).
  • nationalPrefix (type: String.t, default: nil) - To call this number from within the same country, the national call prefix may be necessary. This is 1 in the US, 0 in the UK, etc. In the US, it's reasonable to omit the leading 1 when writing the number, but in other countries it is less optional.
  • number (type: list(String.t), default: nil) - The actual number, broken down into sections as per local convention. Note that the actual formatting of these sections (hyphen vs space, usage of parentheses) will vary according to local custom.

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.TelephoneNumber{
  areaCode: String.t() | nil,
  countryCode: integer() | nil,
  extension: String.t() | nil,
  nationalPrefix: String.t() | nil,
  number: [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.