Class: Google::Apis::DfareportingV3_3::DirectorySite
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV3_3::DirectorySite
- 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
-
#active ⇒ Boolean
(also: #active?)
Whether this directory site is active.
-
#id ⇒ Fixnum
ID of this directory site.
-
#id_dimension_value ⇒ Google::Apis::DfareportingV3_3::DimensionValue
Represents a DimensionValue resource.
-
#inpage_tag_formats ⇒ Array<String>
Tag types for regular placements.
-
#interstitial_tag_formats ⇒ Array<String>
Tag types for interstitial placements.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#name ⇒ String
Name of this directory site.
-
#settings ⇒ Google::Apis::DfareportingV3_3::DirectorySiteSettings
Directory Site Settings Corresponds to the JSON property
settings
. -
#url ⇒ String
URL of this directory site.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DirectorySite
constructor
A new instance of DirectorySite.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DirectorySite
Returns a new instance of DirectorySite.
5088 5089 5090 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5088 def initialize(**args) update!(**args) end |
Instance Attribute Details
#active ⇒ Boolean Also known as: active?
Whether this directory site is active.
Corresponds to the JSON property active
5041 5042 5043 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5041 def active @active end |
#id ⇒ Fixnum
ID of this directory site. This is a read-only, auto-generated field.
Corresponds to the JSON property id
5047 5048 5049 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5047 def id @id end |
#id_dimension_value ⇒ Google::Apis::DfareportingV3_3::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
5052 5053 5054 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5052 def id_dimension_value @id_dimension_value end |
#inpage_tag_formats ⇒ Array<String>
Tag types for regular placements. Acceptable values are: - "STANDARD" - "
IFRAME_JAVASCRIPT_INPAGE" - "INTERNAL_REDIRECT_INPAGE" - "JAVASCRIPT_INPAGE"
Corresponds to the JSON property inpageTagFormats
5058 5059 5060 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5058 def inpage_tag_formats @inpage_tag_formats end |
#interstitial_tag_formats ⇒ Array<String>
Tag types for interstitial placements. Acceptable values are: - "
IFRAME_JAVASCRIPT_INTERSTITIAL" - "INTERNAL_REDIRECT_INTERSTITIAL" - "
JAVASCRIPT_INTERSTITIAL"
Corresponds to the JSON property interstitialTagFormats
5065 5066 5067 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5065 def interstitial_tag_formats @interstitial_tag_formats end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#directorySite".
Corresponds to the JSON property kind
5071 5072 5073 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5071 def kind @kind end |
#name ⇒ String
Name of this directory site.
Corresponds to the JSON property name
5076 5077 5078 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5076 def name @name end |
#settings ⇒ Google::Apis::DfareportingV3_3::DirectorySiteSettings
Directory Site Settings
Corresponds to the JSON property settings
5081 5082 5083 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5081 def settings @settings end |
#url ⇒ String
URL of this directory site.
Corresponds to the JSON property url
5086 5087 5088 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5086 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 |
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 5093 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 |