Class: Google::Apis::DfareportingV3_5::DfpSettings
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_5::DfpSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dfareporting_v3_5/classes.rb,
lib/google/apis/dfareporting_v3_5/representations.rb,
lib/google/apis/dfareporting_v3_5/representations.rb
Overview
Google Ad Manager Settings
Instance Attribute Summary collapse
-
#dfp_network_code ⇒ String
Ad Manager network code for this directory site.
-
#dfp_network_name ⇒ String
Ad Manager 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 Publisher Portal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DfpSettings
constructor
A new instance of DfpSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DfpSettings
Returns a new instance of DfpSettings.
4942 4943 4944 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4942 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dfp_network_code ⇒ String
Ad Manager network code for this directory site.
Corresponds to the JSON property dfpNetworkCode
4917 4918 4919 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4917 def dfp_network_code @dfp_network_code end |
#dfp_network_name ⇒ String
Ad Manager network name for this directory site.
Corresponds to the JSON property dfpNetworkName
4922 4923 4924 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4922 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
4927 4928 4929 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4927 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
4933 4934 4935 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4933 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 Publisher Portal.
Corresponds to the JSON property publisherPortalOnly
4939 4940 4941 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4939 def publisher_portal_only @publisher_portal_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4947 4948 4949 4950 4951 4952 4953 |
# File 'lib/google/apis/dfareporting_v3_5/classes.rb', line 4947 def update!(**args) @dfp_network_code = args[:dfp_network_code] if args.key?(:dfp_network_code) @dfp_network_name = args[:dfp_network_name] if args.key?(:dfp_network_name) @programmatic_placement_accepted = args[:programmatic_placement_accepted] if args.key?(:programmatic_placement_accepted) @pub_paid_placement_accepted = args[:pub_paid_placement_accepted] if args.key?(:pub_paid_placement_accepted) @publisher_portal_only = args[:publisher_portal_only] if args.key?(:publisher_portal_only) end |