Class: Google::Apis::AdexchangebuyerV1_4::DealServingMetadata
- Inherits:
-
Object
- Object
- Google::Apis::AdexchangebuyerV1_4::DealServingMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/adexchangebuyer_v1_4/classes.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb,
generated/google/apis/adexchangebuyer_v1_4/representations.rb
Instance Attribute Summary collapse
-
#alcohol_ads_allowed ⇒ Boolean
(also: #alcohol_ads_allowed?)
True if alcohol ads are allowed for this deal (read-only).
-
#deal_pause_status ⇒ Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus
Tracks which parties (if any) have paused a deal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DealServingMetadata
constructor
A new instance of DealServingMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DealServingMetadata
Returns a new instance of DealServingMetadata
1241 1242 1243 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alcohol_ads_allowed ⇒ Boolean Also known as: alcohol_ads_allowed?
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
1231 1232 1233 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1231 def alcohol_ads_allowed @alcohol_ads_allowed end |
#deal_pause_status ⇒ Google::Apis::AdexchangebuyerV1_4::DealServingMetadataDealPauseStatus
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
1239 1240 1241 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1239 def deal_pause_status @deal_pause_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1246 1247 1248 1249 |
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1246 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 |