View Source GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingRestriction (google_api_ad_exchange_buyer v0.41.0)

Output only. A representation of the status of an ad in a specific context. A context here relates to where something ultimately serves (for example, a user or publisher geo, a platform, an HTTPS versus HTTP request, or the type of auction).

Attributes

  • contexts (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingContext.t), default: nil) - The contexts for the restriction.
  • disapproval (type: GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t, default: nil) - Disapproval bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method.
  • disapprovalReasons (type: list(GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t), default: nil) - Any disapprovals bound to this restriction. Only present if status=DISAPPROVED. Can be used to filter the response of the creatives.list method. Deprecated; use disapproval field instead.
  • status (type: String.t, default: nil) - The status of the creative in this context (for example, it has been explicitly disapproved or is pending review).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingRestriction{
  contexts: [GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingContext.t()] | nil,
  disapproval: GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t() | nil,
  disapprovalReasons:
    [GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t()] | nil,
  status: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.