Class: Google::Apis::RealtimebiddingV1::PolicyTopicEntry
- Inherits:
-
Object
- Object
- Google::Apis::RealtimebiddingV1::PolicyTopicEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/realtimebidding_v1/classes.rb,
lib/google/apis/realtimebidding_v1/representations.rb,
lib/google/apis/realtimebidding_v1/representations.rb
Overview
Each policy topic entry will represent a violation of a policy topic for a creative, with the policy topic information and optional evidence for the policy violation.
Instance Attribute Summary collapse
-
#evidences ⇒ Array<Google::Apis::RealtimebiddingV1::PolicyTopicEvidence>
Pieces of evidence associated with this policy topic entry.
-
#help_center_url ⇒ String
URL of the help center article describing this policy topic.
-
#policy_topic ⇒ String
Policy topic this entry refers to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyTopicEntry
constructor
A new instance of PolicyTopicEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyTopicEntry
Returns a new instance of PolicyTopicEntry.
1640 1641 1642 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1640 def initialize(**args) update!(**args) end |
Instance Attribute Details
#evidences ⇒ Array<Google::Apis::RealtimebiddingV1::PolicyTopicEvidence>
Pieces of evidence associated with this policy topic entry.
Corresponds to the JSON property evidences
1625 1626 1627 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1625 def evidences @evidences end |
#help_center_url ⇒ String
URL of the help center article describing this policy topic.
Corresponds to the JSON property helpCenterUrl
1630 1631 1632 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1630 def help_center_url @help_center_url end |
#policy_topic ⇒ String
Policy topic this entry refers to. For example, "ALCOHOL", "
TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible
policy topics is not fixed for a particular API version and may change at any
time. Can be used to filter the response of the creatives.list method
Corresponds to the JSON property policyTopic
1638 1639 1640 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1638 def policy_topic @policy_topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1645 1646 1647 1648 1649 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1645 def update!(**args) @evidences = args[:evidences] if args.key?(:evidences) @help_center_url = args[:help_center_url] if args.key?(:help_center_url) @policy_topic = args[:policy_topic] if args.key?(:policy_topic) end |