GoogleApi.DFAReporting.V34.Model.PostalCode (google_api_dfa_reporting v0.31.0)

View Source

Contains information about a postal code that can be targeted by ads.

Attributes

  • code (type: String.t, default: nil) - Postal code. This is equivalent to the id field.
  • countryCode (type: String.t, default: nil) - Country code of the country to which this postal code belongs.
  • countryDartId (type: String.t, default: nil) - DART ID of the country to which this postal code belongs.
  • id (type: String.t, default: nil) - ID of this postal code.
  • kind (type: String.t, default: nil) - Identifies what kind of resource this is. Value: the fixed string "dfareporting#postalCode".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.DFAReporting.V34.Model.PostalCode{
  code: String.t() | nil,
  countryCode: String.t() | nil,
  countryDartId: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.