SocialGraphApiProtoPrompt

AI Overview😉

  • The potential purpose of this module is to manage and personalize prompts or notifications for users, taking into account their past interactions and preferences. It seems to be related to the PeopleAPI and ContactsService, suggesting it may be used to enhance user engagement and relationship management.
  • This module could impact search results by influencing the types of notifications and prompts users receive, which in turn may affect their search behavior and the content they interact with. For example, if a user frequently dismisses certain types of prompts, the algorithm may adjust the types of results they see in the future. This could lead to a more personalized search experience, but also raises concerns about filter bubbles and biased results.
  • To be more favorable for this function, a website could focus on providing high-quality, engaging, and relevant content that users are likely to interact with positively. This could include optimizing content for user experience, using clear and concise language, and providing valuable information that meets users' needs. Additionally, websites could consider implementing features that allow users to customize their notification preferences, which may improve the overall user experience and reduce the likelihood of prompts being dismissed.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Used in PeopleAPI layers + FBS/ContactsService (not in ProfileService)

Attributes

  • activeState (type: String.t, default: nil) - Indicates if this prompt is active regardless of its reccurrence date, dismiss date or notification triggers. This is required.
  • content (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPromptContent.t, default: nil) -
  • lastDismissDate (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t, default: nil) - The most recent day the user dismissed this prompt. Empty means the user has never dismissed the prompt.
  • notificationTriggers (type: list(GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoNotificationTrigger.t), default: nil) - If this is empty, only the "Prompt Spark" will be displayed (in the time-range read from per type config), no push notifications will be shown. If push notification are configured with this field, the "Prompt Spark" time-range will be determined by earliest notification value here.
  • purpose (type: String.t, default: nil) - Read-only. This is derived from the containing field value.
  • recurrence (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRecurrence.t, default: nil) - How frequently will this prompt occur and how many times.
  • uniquePromptId (type: String.t, default: nil) - Prompt ID is generated by server on initial mutate.

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.SocialGraphApiProtoPrompt{
  activeState: String.t() | nil,
  content:
    GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPromptContent.t()
    | nil,
  lastDismissDate: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeDate.t() | nil,
  notificationTriggers:
    [
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoNotificationTrigger.t()
    ]
    | nil,
  purpose: String.t() | nil,
  recurrence:
    GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRecurrence.t() | nil,
  uniquePromptId: 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.