google_api_ad_sense_host v0.8.0 GoogleApi.AdSenseHost.V41.Model.AssociationSession View Source

Attributes

  • accountId (type: String.t, default: nil) - Hosted account id of the associated publisher after association. Present if status is ACCEPTED.
  • id (type: String.t, default: nil) - Unique identifier of this association session.
  • kind (type: String.t, default: adsensehost#associationSession) - Kind of resource this is, in this case adsensehost#associationSession.
  • productCodes (type: list(String.t), default: nil) - The products to associate with the user. Options: AFC, AFG, AFV, AFS (deprecated), AFMC (deprecated)
  • redirectUrl (type: String.t, default: nil) - Redirect URL of this association session. Used to redirect users into the AdSense association flow.
  • status (type: String.t, default: nil) - Status of the completed association, available once the association callback token has been verified. One of ACCEPTED, REJECTED, or ERROR.
  • userLocale (type: String.t, default: nil) - The preferred locale of the user themselves when going through the AdSense association flow.
  • websiteLocale (type: String.t, default: nil) - The locale of the user's hosted website.
  • websiteUrl (type: String.t, default: nil) - The URL of the user's hosted website.

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.AdSenseHost.V41.Model.AssociationSession{
  accountId: String.t(),
  id: String.t(),
  kind: String.t(),
  productCodes: [String.t()],
  redirectUrl: String.t(),
  status: String.t(),
  userLocale: String.t(),
  websiteLocale: String.t(),
  websiteUrl: String.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.