View Source GoogleApi.Content.V21.Model.ShoppingAdsProgramStatus (google_api_content v0.67.1)

Response message for GetShoppingAdsProgramStatus.

Attributes

  • globalState (type: String.t, default: nil) - State of the program. ENABLED if there are offers for at least one region.
  • regionStatuses (type: list(GoogleApi.Content.V21.Model.ShoppingAdsProgramStatusRegionStatus.t), default: nil) - Status of the program in each region. Regions with the same status and review eligibility are grouped together in regionCodes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V21.Model.ShoppingAdsProgramStatus{
  globalState: String.t() | nil,
  regionStatuses:
    [GoogleApi.Content.V21.Model.ShoppingAdsProgramStatusRegionStatus.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.