GoogleApi.AdExchangeBuyer.V2beta1.Model.ServingRestriction (google_api_ad_exchange_buyer v0.36.0) 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 (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; please 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).

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.