Class: Google::Apis::DisplayvideoV2::AdvertiserGeneralConfig

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

Overview

General settings of an advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AdvertiserGeneralConfig

Returns a new instance of AdvertiserGeneralConfig.



406
407
408
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 406

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

Instance Attribute Details

#currency_codeString

Required. Immutable. Advertiser's currency in ISO 4217 format. Accepted codes and the currencies they represent are: Currency Code : Currency Name * ARS : Argentine Peso * AUD : Australian Dollar * BRL : Brazilian Real * CAD : Canadian Dollar * CHF : Swiss Franc * CLP : Chilean Peso * CNY : Chinese Yuan * COP : Colombian Peso * CZK : Czech Koruna * DKK : Danish Krone * EGP : Egyption Pound * EUR : Euro * GBP : British Pound * HKD : Hong Kong Dollar * HUF : Hungarian Forint * IDR : Indonesian Rupiah * ILS : Israeli Shekel * INR : Indian Rupee * JPY : Japanese Yen * KRW : South Korean Won * MXN : Mexican Pesos * MYR : Malaysian Ringgit * NGN : Nigerian Naira * NOK : Norwegian Krone * NZD : New Zealand Dollar * PEN : Peruvian Nuevo Sol * PLN : Polish Zloty * RON : New Romanian Leu * RUB : Russian Ruble * SEK : Swedish Krona * TRY : Turkish Lira * TWD : New Taiwan Dollar * USD : US Dollar * ZAR : South African Rand Corresponds to the JSON property currencyCode

Returns:

  • (String)


387
388
389
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 387

def currency_code
  @currency_code
end

#domain_urlString

Required. The domain URL of the advertiser's primary website. The system will send this information to publishers that require website URL to associate a campaign with an advertiser. Provide a URL with no path or query string, beginning with http: or https:. For example, http://www.example.com Corresponds to the JSON property domainUrl

Returns:

  • (String)


395
396
397
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 395

def domain_url
  @domain_url
end

#time_zoneString

Output only. The standard TZ database name of the advertiser's time zone. For example, America/New_York. See more at: https://en.wikipedia.org/wiki/ List_of_tz_database_time_zones For CM360 hybrid advertisers, the time zone is the same as that of the associated CM360 account; for third-party only advertisers, the time zone is the same as that of the parent partner. Corresponds to the JSON property timeZone

Returns:

  • (String)


404
405
406
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 404

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



411
412
413
414
415
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 411

def update!(**args)
  @currency_code = args[:currency_code] if args.key?(:currency_code)
  @domain_url = args[:domain_url] if args.key?(:domain_url)
  @time_zone = args[:time_zone] if args.key?(:time_zone)
end