Class: Google::Apis::RealtimebiddingV1::PolicyTopicEntry

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PolicyTopicEntry

Returns a new instance of PolicyTopicEntry.



1654
1655
1656
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1654

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#evidencesArray<Google::Apis::RealtimebiddingV1::PolicyTopicEvidence>

Pieces of evidence associated with this policy topic entry. Corresponds to the JSON property evidences



1630
1631
1632
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1630

def evidences
  @evidences
end

#help_center_urlString

URL of the help center article describing this policy topic. Corresponds to the JSON property helpCenterUrl

Returns:

  • (String)


1635
1636
1637
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1635

def help_center_url
  @help_center_url
end

#missing_certificateBoolean 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

Returns:

  • (Boolean)


1643
1644
1645
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1643

def missing_certificate
  @missing_certificate
end

#policy_topicString

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

Returns:

  • (String)


1652
1653
1654
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1652

def policy_topic
  @policy_topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1659
1660
1661
1662
1663
1664
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1659

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