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

View Source

Contains information about a metro region that can be targeted by ads.

Attributes

  • countryCode (type: String.t, default: nil) - Country code of the country to which this metro region belongs.
  • countryDartId (type: String.t, default: nil) - DART ID of the country to which this metro region belongs.
  • dartId (type: String.t, default: nil) - DART ID of this metro region.
  • dmaId (type: String.t, default: nil) - DMA ID of this metro region. This is the ID used for targeting and generating reports, and is equivalent to metro_code.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#metro".
  • metroCode (type: String.t, default: nil) - Metro code of this metro region. This is equivalent to dma_id.
  • name (type: String.t, default: nil) - Name of this metro region.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V4.Model.Metro{
  countryCode: String.t() | nil,
  countryDartId: String.t() | nil,
  dartId: String.t() | nil,
  dmaId: String.t() | nil,
  kind: String.t() | nil,
  metroCode: String.t() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.