Class: Google::Apis::DisplayvideoV1::AdvertiserGeneralConfig
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::AdvertiserGeneralConfig
- 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
-
#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.
332 333 334 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 332 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
313 314 315 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 313 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
321 322 323 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 321 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
330 331 332 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 330 def time_zone @time_zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
337 338 339 340 341 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 337 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 |