View Source GoogleApi.AdSense.V2.Model.AdClientAdCode (google_api_ad_sense v0.15.0)

Representation of the AdSense code for a given ad client. For more information, see About the AdSense code.

Attributes

  • adCode (type: String.t, default: nil) - Output only. The AdSense code snippet to add to the head of an HTML page.
  • ampBody (type: String.t, default: nil) - Output only. The AdSense code snippet to add to the body of an AMP page.
  • ampHead (type: String.t, default: nil) - Output only. The AdSense code snippet to add to the head of an AMP page.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdSense.V2.Model.AdClientAdCode{
  adCode: String.t() | nil,
  ampBody: String.t() | nil,
  ampHead: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.