GoogleApi.DFAReporting.V4.Model.Country (google_api_dfa_reporting v0.31.0)

View Source

Contains information about a country that can be targeted by ads.

Attributes

  • countryCode (type: String.t, default: nil) - Country code.
  • dartId (type: String.t, default: nil) - DART ID of this country. This is the ID used for targeting and generating reports.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#country".
  • name (type: String.t, default: nil) - Name of this country.
  • sslEnabled (type: boolean(), default: nil) - Whether ad serving supports secure servers in this country.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V4.Model.Country{
  countryCode: String.t() | nil,
  dartId: String.t() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  sslEnabled: boolean() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.