Class: Google::Apis::DfareportingV2_3::DfpSettings

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

Overview

DFP Settings

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DfpSettings

Returns a new instance of DfpSettings



4133
4134
4135
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4133

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

Instance Attribute Details

#dfp_network_codeString

DFP network code for this directory site. Corresponds to the JSON property dfp_network_code

Returns:

  • (String)


4108
4109
4110
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4108

def dfp_network_code
  @dfp_network_code
end

#dfp_network_nameString

DFP network name for this directory site. Corresponds to the JSON property dfp_network_name

Returns:

  • (String)


4113
4114
4115
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4113

def dfp_network_name
  @dfp_network_name
end

#programmatic_placement_acceptedBoolean Also known as: programmatic_placement_accepted?

Whether this directory site accepts programmatic placements. Corresponds to the JSON property programmaticPlacementAccepted

Returns:

  • (Boolean)


4118
4119
4120
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4118

def programmatic_placement_accepted
  @programmatic_placement_accepted
end

#pub_paid_placement_acceptedBoolean Also known as: pub_paid_placement_accepted?

Whether this directory site accepts publisher-paid tags. Corresponds to the JSON property pubPaidPlacementAccepted

Returns:

  • (Boolean)


4124
4125
4126
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4124

def pub_paid_placement_accepted
  @pub_paid_placement_accepted
end

#publisher_portal_onlyBoolean Also known as: publisher_portal_only?

Whether this directory site is available only via DoubleClick Publisher Portal. Corresponds to the JSON property publisherPortalOnly

Returns:

  • (Boolean)


4130
4131
4132
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4130

def publisher_portal_only
  @publisher_portal_only
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4138
4139
4140
4141
4142
4143
4144
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 4138

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