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
more...

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.

[View source]

1668
1669
1670
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1668

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


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

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)

1649
1650
1651
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1649

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)

1657
1658
1659
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1657

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)

1666
1667
1668
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1666

def policy_topic
  @policy_topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

1673
1674
1675
1676
1677
1678
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1673

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