Class: Google::Apis::DisplayvideoV3::AdvertiserGeneralConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::AdvertiserGeneralConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
General settings of an advertiser.
Instance Attribute Summary collapse
-
#currency_code ⇒ String
Required.
-
#domain_url ⇒ String
Required.
-
#time_zone ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdvertiserGeneralConfig
constructor
A new instance of AdvertiserGeneralConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdvertiserGeneralConfig
Returns a new instance of AdvertiserGeneralConfig.
703 704 705 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 703 def initialize(**args) update!(**args) end |
Instance Attribute Details
#currency_code ⇒ String
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
684 685 686 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 684 def currency_code @currency_code end |
#domain_url ⇒ String
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
692 693 694 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 692 def domain_url @domain_url end |
#time_zone ⇒ String
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
701 702 703 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 701 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
708 709 710 711 712 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 708 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 |