Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb
Overview
Phone number and country code in smart campaign settings.
Instance Attribute Summary collapse
-
#country_code ⇒ String
Upper-case, two-letter country code as defined by ISO-3166.
-
#phone_number ⇒ String
Phone number of the smart campaign.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber
constructor
A new instance of GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber
Returns a new instance of GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber.
19073 19074 19075 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19073 def initialize(**args) update!(**args) end |
Instance Attribute Details
#country_code ⇒ String
Upper-case, two-letter country code as defined by ISO-3166.
Corresponds to the JSON property countryCode
19066 19067 19068 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19066 def country_code @country_code end |
#phone_number ⇒ String
Phone number of the smart campaign.
Corresponds to the JSON property phoneNumber
19071 19072 19073 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19071 def phone_number @phone_number end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19078 19079 19080 19081 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 19078 def update!(**args) @country_code = args[:country_code] if args.key?(:country_code) @phone_number = args[:phone_number] if args.key?(:phone_number) end |