Class: Google::Apis::DfareportingV3_4::DirectorySiteSettings

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

Overview

Directory Site Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectorySiteSettings

Returns a new instance of DirectorySiteSettings.



5695
5696
5697
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5695

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

Instance Attribute Details

#active_view_opt_outBoolean Also known as: active_view_opt_out?

Whether this directory site has disabled active view creatives. Corresponds to the JSON property activeViewOptOut

Returns:

  • (Boolean)


5675
5676
5677
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5675

def active_view_opt_out
  @active_view_opt_out
end

#dfp_settingsGoogle::Apis::DfareportingV3_4::DfpSettings

Google Ad Manager Settings Corresponds to the JSON property dfpSettings



5681
5682
5683
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5681

def dfp_settings
  @dfp_settings
end

#instream_video_placement_acceptedBoolean Also known as: instream_video_placement_accepted?

Whether this site accepts in-stream video ads. Corresponds to the JSON property instreamVideoPlacementAccepted

Returns:

  • (Boolean)


5686
5687
5688
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5686

def instream_video_placement_accepted
  @instream_video_placement_accepted
end

#interstitial_placement_acceptedBoolean Also known as: interstitial_placement_accepted?

Whether this site accepts interstitial ads. Corresponds to the JSON property interstitialPlacementAccepted

Returns:

  • (Boolean)


5692
5693
5694
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5692

def interstitial_placement_accepted
  @interstitial_placement_accepted
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5700
5701
5702
5703
5704
5705
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 5700

def update!(**args)
  @active_view_opt_out = args[:active_view_opt_out] if args.key?(:active_view_opt_out)
  @dfp_settings = args[:dfp_settings] if args.key?(:dfp_settings)
  @instream_video_placement_accepted = args[:instream_video_placement_accepted] if args.key?(:instream_video_placement_accepted)
  @interstitial_placement_accepted = args[:interstitial_placement_accepted] if args.key?(:interstitial_placement_accepted)
end