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.
-
#missing_certificate ⇒ Boolean
(also: #missing_certificate?)
Whether or not the policy topic is missing a certificate.
-
#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.
1651 1652 1653 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1651 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
1627 1628 1629 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1627 def evidences @evidences end |
#help_center_url ⇒ String
URL of the help center article describing this policy topic.
Corresponds to the JSON property helpCenterUrl
1632 1633 1634 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1632 def help_center_url @help_center_url end |
#missing_certificate ⇒ Boolean Also known as: missing_certificate?
Whether or not the policy topic is missing a certificate. Some policy topics
require a certificate to unblock serving in some regions. For more information
about creative certification, refer to: https://support.google.com/
authorizedbuyers/answer/7450776
Corresponds to the JSON property missingCertificate
1640 1641 1642 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1640 def missing_certificate @missing_certificate 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
1649 1650 1651 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1649 def policy_topic @policy_topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1656 1657 1658 1659 1660 1661 |
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1656 def update!(**args) @evidences = args[:evidences] if args.key?(:evidences) @help_center_url = args[:help_center_url] if args.key?(:help_center_url) @missing_certificate = args[:missing_certificate] if args.key?(:missing_certificate) @policy_topic = args[:policy_topic] if args.key?(:policy_topic) end |