Class: Google::Apis::RealtimebiddingV1::HttpCookieEvidence

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

Evidence for HTTP cookie-related policy violations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HttpCookieEvidence

Returns a new instance of HttpCookieEvidence.



1186
1187
1188
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1186

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

Instance Attribute Details

Names of cookies that violate Google policies. For TOO_MANY_COOKIES policy, this will be the cookie names of top domains with the largest number of cookies. For other policies, this will be all the cookie names that violate the policy. Corresponds to the JSON property cookieNames

Returns:

  • (Array<String>)


1176
1177
1178
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1176

def cookie_names
  @cookie_names
end

The largest number of cookies set by a creative. If this field is set, cookie_names above will be set to the cookie names of top domains with the largest number of cookies. This field will only be set for TOO_MANY_COOKIES policy. Corresponds to the JSON property maxCookieCount

Returns:

  • (Fixnum)


1184
1185
1186
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1184

def max_cookie_count
  @max_cookie_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1191
1192
1193
1194
# File 'lib/google/apis/realtimebidding_v1/classes.rb', line 1191

def update!(**args)
  @cookie_names = args[:cookie_names] if args.key?(:cookie_names)
  @max_cookie_count = args[:max_cookie_count] if args.key?(:max_cookie_count)
end