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

View Source

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

Attributes

  • countryCode (type: String.t, default: nil) - Country code of the country to which this city belongs.
  • countryDartId (type: String.t, default: nil) - DART ID of the country to which this city belongs.
  • dartId (type: String.t, default: nil) - DART ID of this city. 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#city".
  • metroCode (type: String.t, default: nil) - Metro region code of the metro region (DMA) to which this city belongs.
  • metroDmaId (type: String.t, default: nil) - ID of the metro region (DMA) to which this city belongs.
  • name (type: String.t, default: nil) - Name of this city.
  • regionCode (type: String.t, default: nil) - Region code of the region to which this city belongs.
  • regionDartId (type: String.t, default: nil) - DART ID of the region to which this city belongs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.