Class: Google::Apis::DisplayvideoV1::AdvertiserGeneralConfig

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

Overview

General settings of an advertiser.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AdvertiserGeneralConfig

Returns a new instance of AdvertiserGeneralConfig.



354
355
356
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 354

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)


331
332
333
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 331

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)


341
342
343
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 341

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 CM hybrid advertisers, the time zone is the same as that of the associated CM 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)


352
353
354
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 352

def time_zone
  @time_zone
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



359
360
361
362
363
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 359

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