google_api_ad_exchange_buyer v0.15.0 GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingRestriction View Source

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 vs HTTP request, or the type of auction).

Attributes

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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingRestriction{
  contexts: [GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingContext.t()],
  disapproval: GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t(),
  disapprovalReasons: [GoogleApi.AdExchangeBuyer.V2beta1.Model.Disapproval.t()],
  status: String.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.