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

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

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.



1195
1196
1197
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1195

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



1180
1181
1182
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1180

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)


1185
1186
1187
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1185

def help_center_url
  @help_center_url
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)


1193
1194
1195
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1193

def policy_topic
  @policy_topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1200
1201
1202
1203
1204
# File 'generated/google/apis/realtimebidding_v1/classes.rb', line 1200

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