Class: Google::Apis::DfareportingV2_1::DirectorySite
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::DirectorySite
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/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.
-
#contact_assignments ⇒ Array<Google::Apis::DfareportingV2_1::DirectorySiteContactAssignment>
Directory site contacts.
-
#country_id ⇒ String
Country ID of this directory site.
-
#currency_id ⇒ String
Currency ID of this directory site.
-
#description ⇒ String
Description of this directory site.
-
#id ⇒ String
ID of this directory site.
-
#id_dimension_value ⇒ Google::Apis::DfareportingV2_1::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.
-
#parent_id ⇒ String
Parent directory site ID.
-
#settings ⇒ Google::Apis::DfareportingV2_1::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.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DirectorySite
Returns a new instance of DirectorySite.
4416 4417 4418 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4416 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
4298 4299 4300 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4298 def active @active end |
#contact_assignments ⇒ Array<Google::Apis::DfareportingV2_1::DirectorySiteContactAssignment>
Directory site contacts.
Corresponds to the JSON property contactAssignments
4304 4305 4306 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4304 def contact_assignments @contact_assignments end |
#country_id ⇒ String
Country ID of this directory site.
Corresponds to the JSON property countryId
4309 4310 4311 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4309 def country_id @country_id end |
#currency_id ⇒ String
Currency ID of this directory site. Possible values are:
- "1" for USD
- "2" for GBP
- "3" for ESP
- "4" for SEK
- "5" for CAD
- "6" for JPY
- "7" for DEM
- "8" for AUD
- "9" for FRF
- "10" for ITL
- "11" for DKK
- "12" for NOK
- "13" for FIM
- "14" for ZAR
- "15" for IEP
- "16" for NLG
- "17" for EUR
- "18" for KRW
- "19" for TWD
- "20" for SGD
- "21" for CNY
- "22" for HKD
- "23" for NZD
- "24" for MYR
- "25" for BRL
- "26" for PTE
- "27" for MXP
- "28" for CLP
- "29" for TRY
- "30" for ARS
- "31" for PEN
- "32" for ILS
- "33" for CHF
- "34" for VEF
- "35" for COP
- "36" for GTQ
- "37" for PLN
- "39" for INR
- "40" for THB
Corresponds to the JSON property
currencyId
4354 4355 4356 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4354 def currency_id @currency_id end |
#description ⇒ String
Description of this directory site.
Corresponds to the JSON property description
4359 4360 4361 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4359 def description @description end |
#id ⇒ String
ID of this directory site. This is a read-only, auto-generated field.
Corresponds to the JSON property id
4364 4365 4366 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4364 def id @id end |
#id_dimension_value ⇒ Google::Apis::DfareportingV2_1::DimensionValue
Represents a DimensionValue resource.
Corresponds to the JSON property idDimensionValue
4369 4370 4371 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4369 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
4379 4380 4381 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4379 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
4388 4389 4390 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4388 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
4394 4395 4396 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4394 def kind @kind end |
#name ⇒ String
Name of this directory site.
Corresponds to the JSON property name
4399 4400 4401 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4399 def name @name end |
#parent_id ⇒ String
Parent directory site ID.
Corresponds to the JSON property parentId
4404 4405 4406 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4404 def parent_id @parent_id end |
#settings ⇒ Google::Apis::DfareportingV2_1::DirectorySiteSettings
Directory Site Settings
Corresponds to the JSON property settings
4409 4410 4411 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4409 def settings @settings end |
#url ⇒ String
URL of this directory site.
Corresponds to the JSON property url
4414 4415 4416 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4414 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 4421 def update!(**args) @active = args[:active] unless args[:active].nil? @contact_assignments = args[:contact_assignments] unless args[:contact_assignments].nil? @country_id = args[:country_id] unless args[:country_id].nil? @currency_id = args[:currency_id] unless args[:currency_id].nil? @description = args[:description] unless args[:description].nil? @id = args[:id] unless args[:id].nil? @id_dimension_value = args[:id_dimension_value] unless args[:id_dimension_value].nil? @inpage_tag_formats = args[:inpage_tag_formats] unless args[:inpage_tag_formats].nil? @interstitial_tag_formats = args[:interstitial_tag_formats] unless args[:interstitial_tag_formats].nil? @kind = args[:kind] unless args[:kind].nil? @name = args[:name] unless args[:name].nil? @parent_id = args[:parent_id] unless args[:parent_id].nil? @settings = args[:settings] unless args[:settings].nil? @url = args[:url] unless args[:url].nil? end |