Class: Google::Apis::DfareportingV3_3::DirectorySite

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

Overview

DirectorySites contains properties of a website from the Site Directory. Sites need to be added to an account via the Sites resource before they can be assigned to a placement.

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) ⇒ DirectorySite

Returns a new instance of DirectorySite.



5219
5220
5221
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5219

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

Instance Attribute Details

#activeBoolean Also known as: active?

Whether this directory site is active. Corresponds to the JSON property active

Returns:

  • (Boolean)


5166
5167
5168
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5166

def active
  @active
end

#idFixnum

ID of this directory site. This is a read-only, auto-generated field. Corresponds to the JSON property id

Returns:

  • (Fixnum)


5172
5173
5174
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5172

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV3_3::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



5177
5178
5179
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5177

def id_dimension_value
  @id_dimension_value
end

#inpage_tag_formatsArray<String>

Tag types for regular placements. Acceptable values are:

  • "STANDARD"
  • "IFRAME_JAVASCRIPT_INPAGE"
  • "INTERNAL_REDIRECT_INPAGE"
  • "JAVASCRIPT_INPAGE" Corresponds to the JSON property inpageTagFormats

Returns:

  • (Array<String>)


5187
5188
5189
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5187

def inpage_tag_formats
  @inpage_tag_formats
end

#interstitial_tag_formatsArray<String>

Tag types for interstitial placements. Acceptable values are:

  • "IFRAME_JAVASCRIPT_INTERSTITIAL"
  • "INTERNAL_REDIRECT_INTERSTITIAL"
  • "JAVASCRIPT_INTERSTITIAL" Corresponds to the JSON property interstitialTagFormats

Returns:

  • (Array<String>)


5196
5197
5198
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5196

def interstitial_tag_formats
  @interstitial_tag_formats
end

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#directorySite". Corresponds to the JSON property kind

Returns:

  • (String)


5202
5203
5204
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5202

def kind
  @kind
end

#nameString

Name of this directory site. Corresponds to the JSON property name

Returns:

  • (String)


5207
5208
5209
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5207

def name
  @name
end

#settingsGoogle::Apis::DfareportingV3_3::DirectorySiteSettings

Directory Site Settings Corresponds to the JSON property settings



5212
5213
5214
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5212

def settings
  @settings
end

#urlString

URL of this directory site. Corresponds to the JSON property url

Returns:

  • (String)


5217
5218
5219
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5217

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5224

def update!(**args)
  @active = args[:active] if args.key?(:active)
  @id = args[:id] if args.key?(:id)
  @id_dimension_value = args[:id_dimension_value] if args.key?(:id_dimension_value)
  @inpage_tag_formats = args[:inpage_tag_formats] if args.key?(:inpage_tag_formats)
  @interstitial_tag_formats = args[:interstitial_tag_formats] if args.key?(:interstitial_tag_formats)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
  @settings = args[:settings] if args.key?(:settings)
  @url = args[:url] if args.key?(:url)
end