Class: Google::Apis::DisplayvideoV2::RemarketingConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.



10391
10392
10393
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10391

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)


10382
10383
10384
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10382

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)


10388
10389
10390
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10388

def remarketing_enabled
  @remarketing_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10396
10397
10398
10399
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10396

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