class Google::Apis::AdexchangebuyerV1_4::Creative::ServingRestriction

Attributes

contexts[RW]

All known contexts/restrictions. Corresponds to the JSON property `contexts` @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::ServingRestriction::Context>]

disapproval_reasons[RW]

The reasons for disapproval within this restriction, if any. Note that not all disapproval reasons may be categorized, so it is possible for the creative to have a status of DISAPPROVED or CONDITIONALLY_APPROVED with an empty list for disapproval_reasons. In this case, please reach out to your TAM to help debug the issue. Corresponds to the JSON property `disapprovalReasons` @return [Array<Google::Apis::AdexchangebuyerV1_4::Creative::ServingRestriction::DisapprovalReason>]

reason[RW]

Why the creative is ineligible to serve in this context (e.g., it has been explicitly disapproved or is pending review). Corresponds to the JSON property `reason` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1092
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1097
def update!(**args)
  @contexts = args[:contexts] if args.key?(:contexts)
  @disapproval_reasons = args[:disapproval_reasons] if args.key?(:disapproval_reasons)
  @reason = args[:reason] if args.key?(:reason)
end