Class: Google::Apis::DisplayvideoV3::RemarketingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb

Overview

Settings that control the whether remarketing is enabled for the given identified advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemarketingConfig

Returns a new instance of RemarketingConfig.



11108
11109
11110
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11108

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

Instance Attribute Details

#advertiser_idFixnum

Output only. The ID of the advertiser. Corresponds to the JSON property advertiserId

Returns:

  • (Fixnum)


11099
11100
11101
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11099

def advertiser_id
  @advertiser_id
end

#remarketing_enabledBoolean Also known as: remarketing_enabled?

Output only. Whether the Floodlight activity remarketing user list is available to the identified advertiser. Corresponds to the JSON property remarketingEnabled

Returns:

  • (Boolean)


11105
11106
11107
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11105

def remarketing_enabled
  @remarketing_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11113
11114
11115
11116
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 11113

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