class Google::Apis::AdexchangebuyerV1_4::DealServingMetadata

Attributes

alcohol_ads_allowed[RW]

True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals Corresponds to the JSON property `alcoholAdsAllowed` @return [Boolean]

alcohol_ads_allowed?[RW]

True if alcohol ads are allowed for this deal (read-only). This field is only populated when querying for finalized orders using the method GetFinalizedOrderDeals Corresponds to the JSON property `alcoholAdsAllowed` @return [Boolean]

deal_pause_status[RW]

Tracks which parties (if any) have paused a deal. The deal is considered paused if has_buyer_paused || has_seller_paused. Each of the has_buyer_paused or the has_seller_paused bits can be set independently. Corresponds to the JSON property `dealPauseStatus` @return [Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/adexchangebuyer_v1_4/classes.rb, line 1280
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 1285
def update!(**args)
  @alcohol_ads_allowed = args[:alcohol_ads_allowed] if args.key?(:alcohol_ads_allowed)
  @deal_pause_status = args[:deal_pause_status] if args.key?(:deal_pause_status)
end