Class: Google::Apis::RealtimebiddingV1::PolicyCompliance
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::PolicyCompliance
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/realtimebidding_v1/classes.rb,
generated/google/apis/realtimebidding_v1/representations.rb,
generated/google/apis/realtimebidding_v1/representations.rb
Overview
Policy compliance of the creative for a transaction type or a region.
Instance Attribute Summary collapse
-
#status ⇒ String
Serving status for the given transaction type (e.g., open auction, deals) or region (e.g., China, Russia).
-
#topics ⇒ Array<Google::Apis::RealtimebiddingV1::PolicyTopicEntry>
Topics related to the policy compliance for this transaction type (e.g., open auction, deals) or region (e.g., China, Russia).
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyCompliance
constructor
A new instance of PolicyCompliance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyCompliance
Returns a new instance of PolicyCompliance.
1160 1161 1162 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ String
Serving status for the given transaction type (e.g., open auction, deals) or
region (e.g., China, Russia). Can be used to filter the response of the
creatives.list method.
Corresponds to the JSON property status
1151 1152 1153 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1151 def status @status end |
#topics ⇒ Array<Google::Apis::RealtimebiddingV1::PolicyTopicEntry>
Topics related to the policy compliance for this transaction type (e.g., open
auction, deals) or region (e.g., China, Russia). Topics may be present only if
status is DISAPPROVED.
Corresponds to the JSON property topics
1158 1159 1160 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1158 def topics @topics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1165 1166 1167 1168 |
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1165 def update!(**args) @status = args[:status] if args.key?(:status) @topics = args[:topics] if args.key?(:topics) end |