Class: Google::Apis::DfareportingV4::DirectorySite

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dfareporting_v4/classes.rb,
lib/google/apis/dfareporting_v4/representations.rb,
lib/google/apis/dfareporting_v4/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

Constructor Details

#initialize(**args) ⇒ DirectorySite

Returns a new instance of DirectorySite.



5615
5616
5617
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5615

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

Instance Attribute Details

#idFixnum

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

Returns:

  • (Fixnum)


5574
5575
5576
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5574

def id
  @id
end

#id_dimension_valueGoogle::Apis::DfareportingV4::DimensionValue

Represents a DimensionValue resource. Corresponds to the JSON property idDimensionValue



5579
5580
5581
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5579

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


5585
5586
5587
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5585

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


5592
5593
5594
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5592

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)


5598
5599
5600
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5598

def kind
  @kind
end

#nameString

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

Returns:

  • (String)


5603
5604
5605
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5603

def name
  @name
end

#settingsGoogle::Apis::DfareportingV4::DirectorySiteSettings

Directory Site Settings Corresponds to the JSON property settings



5608
5609
5610
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5608

def settings
  @settings
end

#urlString

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

Returns:

  • (String)


5613
5614
5615
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5613

def url
  @url
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 5620

def update!(**args)
  @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