Class: Google::Apis::DfareportingV2_1::DfpSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::DfpSettings
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
DFP Settings
Instance Attribute Summary collapse
-
#dfp_network_code ⇒ String
DFP network code for this directory site.
-
#dfp_network_name ⇒ String
DFP network name for this directory site.
-
#programmatic_placement_accepted ⇒ Boolean
(also: #programmatic_placement_accepted?)
Whether this directory site accepts programmatic placements.
-
#pub_paid_placement_accepted ⇒ Boolean
(also: #pub_paid_placement_accepted?)
Whether this directory site accepts publisher-paid tags.
-
#publisher_portal_only ⇒ Boolean
(also: #publisher_portal_only?)
Whether this directory site is available only via DoubleClick Publisher Portal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DfpSettings
constructor
A new instance of DfpSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DfpSettings
Returns a new instance of DfpSettings.
4081 4082 4083 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dfp_network_code ⇒ String
DFP network code for this directory site.
Corresponds to the JSON property dfp_network_code
4056 4057 4058 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4056 def dfp_network_code @dfp_network_code end |
#dfp_network_name ⇒ String
DFP network name for this directory site.
Corresponds to the JSON property dfp_network_name
4061 4062 4063 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4061 def dfp_network_name @dfp_network_name end |
#programmatic_placement_accepted ⇒ Boolean Also known as: programmatic_placement_accepted?
Whether this directory site accepts programmatic placements.
Corresponds to the JSON property programmaticPlacementAccepted
4066 4067 4068 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4066 def programmatic_placement_accepted @programmatic_placement_accepted end |
#pub_paid_placement_accepted ⇒ Boolean Also known as: pub_paid_placement_accepted?
Whether this directory site accepts publisher-paid tags.
Corresponds to the JSON property pubPaidPlacementAccepted
4072 4073 4074 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4072 def pub_paid_placement_accepted @pub_paid_placement_accepted end |
#publisher_portal_only ⇒ Boolean Also known as: publisher_portal_only?
Whether this directory site is available only via DoubleClick Publisher Portal.
Corresponds to the JSON property publisherPortalOnly
4078 4079 4080 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4078 def publisher_portal_only @publisher_portal_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4086 4087 4088 4089 4090 4091 4092 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4086 def update!(**args) @dfp_network_code = args[:dfp_network_code] unless args[:dfp_network_code].nil? @dfp_network_name = args[:dfp_network_name] unless args[:dfp_network_name].nil? @programmatic_placement_accepted = args[:programmatic_placement_accepted] unless args[:programmatic_placement_accepted].nil? @pub_paid_placement_accepted = args[:pub_paid_placement_accepted] unless args[:pub_paid_placement_accepted].nil? @publisher_portal_only = args[:publisher_portal_only] unless args[:publisher_portal_only].nil? end |