class Google::Apis::DfareportingV3_4::DirectorySite

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.

Attributes

id[RW]

ID of this directory site. This is a read-only, auto-generated field. Corresponds to the JSON property `id` @return [Fixnum]

id_dimension_value[RW]

Represents a DimensionValue resource. Corresponds to the JSON property `idDimensionValue` @return [Google::Apis::DfareportingV3_4::DimensionValue]

inpage_tag_formats[RW]

Tag types for regular placements. Acceptable values are: - “STANDARD” - “ IFRAME_JAVASCRIPT_INPAGE” - “INTERNAL_REDIRECT_INPAGE” - “JAVASCRIPT_INPAGE” Corresponds to the JSON property `inpageTagFormats` @return [Array<String>]

interstitial_tag_formats[RW]

Tag types for interstitial placements. Acceptable values are: - “ IFRAME_JAVASCRIPT_INTERSTITIAL” - “INTERNAL_REDIRECT_INTERSTITIAL” - “ JAVASCRIPT_INTERSTITIAL” Corresponds to the JSON property `interstitialTagFormats` @return [Array<String>]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “ dfareporting#directorySite”. Corresponds to the JSON property `kind` @return [String]

name[RW]

Name of this directory site. Corresponds to the JSON property `name` @return [String]

settings[RW]

Directory Site Settings Corresponds to the JSON property `settings` @return [Google::Apis::DfareportingV3_4::DirectorySiteSettings]

url[RW]

URL of this directory site. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5651
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dfareporting_v3_4/classes.rb, line 5656
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