google_api_content v0.4.0 GoogleApi.Content.V2.Model.Account View Source

Account data. After the creation of a new account it may take a few minutes before it is fully operational. The methods delete, insert, patch, and update require the admin role.

Attributes

  • adultContent (boolean()): Indicates whether the merchant sells adult content. Defaults to: null.
  • adwordsLinks ([AccountAdwordsLink]): List of linked AdWords accounts that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected either in the AdWords interface or through the AdWords API. To delete an active link, or to cancel a link request, remove it from the list. Defaults to: null.
  • businessInformation (AccountBusinessInformation): The business information of the account. Defaults to: null.
  • googleMyBusinessLink (AccountGoogleMyBusinessLink): The GMB account which is linked or in the process of being linked with the Merchant Center account. Defaults to: null.
  • id (String.t): Merchant Center account ID. Defaults to: null.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "content#account". Defaults to: null.
  • name (String.t): Display name for the account. Defaults to: null.
  • reviewsUrl (String.t): [DEPRECATED] This field is never returned and will be ignored if provided. Defaults to: null.
  • sellerId (String.t): Client-specific, locally-unique, internal ID for the child account. Defaults to: null.
  • users ([AccountUser]): Users with access to the account. Every account (except for subaccounts) must have at least one admin user. Defaults to: null.
  • websiteUrl (String.t): The merchant's website. Defaults to: null.
  • youtubeChannelLinks ([AccountYouTubeChannelLink]): List of linked YouTube channels that are active or pending approval. To create a new link request, add a new link with status active to the list. It will remain in a pending state until approved or rejected in the YT Creator Studio interface. To delete an active link, or to cancel a link request, remove it from the list. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Content.V2.Model.Account{
  adultContent: any(),
  adwordsLinks: [GoogleApi.Content.V2.Model.AccountAdwordsLink.t()],
  businessInformation:
    GoogleApi.Content.V2.Model.AccountBusinessInformation.t(),
  googleMyBusinessLink:
    GoogleApi.Content.V2.Model.AccountGoogleMyBusinessLink.t(),
  id: any(),
  kind: any(),
  name: any(),
  reviewsUrl: any(),
  sellerId: any(),
  users: [GoogleApi.Content.V2.Model.AccountUser.t()],
  websiteUrl: any(),
  youtubeChannelLinks: [
    GoogleApi.Content.V2.Model.AccountYouTubeChannelLink.t()
  ]
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.