class Google::Apis::DfareportingV2_3::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_3/classes.rb, line 4124
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_3/classes.rb, line 4129
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