class Google::Apis::DfareportingV2_1::DfpSettings

DFP Settings

Attributes

dfp_network_code[RW]

DFP network code for this directory site. Corresponds to the JSON property `dfp_network_code` @return [String]

dfp_network_name[RW]

DFP network name for this directory site. Corresponds to the JSON property `dfp_network_name` @return [String]

programmatic_placement_accepted[RW]

Whether this directory site accepts programmatic placements. Corresponds to the JSON property `programmaticPlacementAccepted` @return [Boolean]

programmatic_placement_accepted?[RW]

Whether this directory site accepts programmatic placements. Corresponds to the JSON property `programmaticPlacementAccepted` @return [Boolean]

pub_paid_placement_accepted[RW]

Whether this directory site accepts publisher-paid tags. Corresponds to the JSON property `pubPaidPlacementAccepted` @return [Boolean]

pub_paid_placement_accepted?[RW]

Whether this directory site accepts publisher-paid tags. Corresponds to the JSON property `pubPaidPlacementAccepted` @return [Boolean]

publisher_portal_only[RW]

Whether this directory site is available only via DoubleClick Publisher Portal. Corresponds to the JSON property `publisherPortalOnly` @return [Boolean]

publisher_portal_only?[RW]

Whether this directory site is available only via DoubleClick Publisher Portal. Corresponds to the JSON property `publisherPortalOnly` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 4081
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# 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