Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/searchads360_v0/classes.rb,
lib/google/apis/searchads360_v0/representations.rb,
lib/google/apis/searchads360_v0/representations.rb
Overview
The setting for controlling Dynamic Search Ads (DSA).
Instance Attribute Summary collapse
-
#domain_name ⇒ String
Required.
-
#language_code ⇒ String
Required.
-
#use_supplied_urls_only ⇒ Boolean
(also: #use_supplied_urls_only?)
Whether the campaign uses advertiser supplied URLs exclusively.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting
Returns a new instance of GoogleAdsSearchads360V0ResourcesCampaignDynamicSearchAdsSetting.
1621 1622 1623 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#domain_name ⇒ String
Required. The Internet domain name that this setting represents, for example, "
google.com" or "www.google.com".
Corresponds to the JSON property domainName
1607 1608 1609 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1607 def domain_name @domain_name end |
#language_code ⇒ String
Required. The language code specifying the language of the domain, for example,
"en".
Corresponds to the JSON property languageCode
1613 1614 1615 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1613 def language_code @language_code end |
#use_supplied_urls_only ⇒ Boolean Also known as: use_supplied_urls_only?
Whether the campaign uses advertiser supplied URLs exclusively.
Corresponds to the JSON property useSuppliedUrlsOnly
1618 1619 1620 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1618 def use_supplied_urls_only @use_supplied_urls_only end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1626 1627 1628 1629 1630 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 1626 def update!(**args) @domain_name = args[:domain_name] if args.key?(:domain_name) @language_code = args[:language_code] if args.key?(:language_code) @use_supplied_urls_only = args[:use_supplied_urls_only] if args.key?(:use_supplied_urls_only) end |