Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer
- 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
A customer.
Instance Attribute Summary collapse
-
#account_status ⇒ String
Output only.
-
#account_type ⇒ String
Output only.
-
#auto_tagging_enabled ⇒ Boolean
(also: #auto_tagging_enabled?)
Whether auto-tagging is enabled for the customer.
-
#conversion_tracking_setting ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionTrackingSetting
A collection of customer-wide settings related to Search Ads 360 Conversion Tracking.
-
#creation_time ⇒ String
Output only.
-
#currency_code ⇒ String
Immutable.
-
#descriptive_name ⇒ String
Optional, non-unique descriptive name of the customer.
-
#double_click_campaign_manager_setting ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesDoubleClickCampaignManagerSetting
DoubleClick Campaign Manager (DCM) setting for a manager customer.
-
#engine_id ⇒ String
Output only.
-
#final_url_suffix ⇒ String
The URL template for appending params to the final URL.
-
#id ⇒ Fixnum
Output only.
-
#last_modified_time ⇒ String
Output only.
-
#manager ⇒ Boolean
(also: #manager?)
Output only.
-
#resource_name ⇒ String
Immutable.
-
#status ⇒ String
Output only.
-
#time_zone ⇒ String
Immutable.
-
#tracking_url_template ⇒ String
The URL template for constructing a tracking URL out of parameters.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomer
constructor
A new instance of GoogleAdsSearchads360V0ResourcesCustomer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomer
Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomer.
3760 3761 3762 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#account_status ⇒ String
Output only. Account status, for example, Enabled, Paused, Removed, etc.
Corresponds to the JSON property accountStatus
3670 3671 3672 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3670 def account_status @account_status end |
#account_type ⇒ String
Output only. Engine account type, for example, Google Ads, Microsoft
Advertising, Yahoo Japan, Baidu, Facebook, Engine Track, etc.
Corresponds to the JSON property accountType
3676 3677 3678 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3676 def account_type @account_type end |
#auto_tagging_enabled ⇒ Boolean Also known as: auto_tagging_enabled?
Whether auto-tagging is enabled for the customer.
Corresponds to the JSON property autoTaggingEnabled
3681 3682 3683 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3681 def auto_tagging_enabled @auto_tagging_enabled end |
#conversion_tracking_setting ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionTrackingSetting
A collection of customer-wide settings related to Search Ads 360 Conversion
Tracking.
Corresponds to the JSON property conversionTrackingSetting
3688 3689 3690 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3688 def conversion_tracking_setting @conversion_tracking_setting end |
#creation_time ⇒ String
Output only. The timestamp when this customer was created. The timestamp is in
the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format.
Corresponds to the JSON property creationTime
3694 3695 3696 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3694 def creation_time @creation_time end |
#currency_code ⇒ String
Immutable. The currency in which the account operates. A subset of the
currency codes from the ISO 4217 standard is supported.
Corresponds to the JSON property currencyCode
3700 3701 3702 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3700 def currency_code @currency_code end |
#descriptive_name ⇒ String
Optional, non-unique descriptive name of the customer.
Corresponds to the JSON property descriptiveName
3705 3706 3707 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3705 def descriptive_name @descriptive_name end |
#double_click_campaign_manager_setting ⇒ Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesDoubleClickCampaignManagerSetting
DoubleClick Campaign Manager (DCM) setting for a manager customer.
Corresponds to the JSON property doubleClickCampaignManagerSetting
3710 3711 3712 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3710 def double_click_campaign_manager_setting @double_click_campaign_manager_setting end |
#engine_id ⇒ String
Output only. ID of the account in the external engine account.
Corresponds to the JSON property engineId
3715 3716 3717 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3715 def engine_id @engine_id end |
#final_url_suffix ⇒ String
The URL template for appending params to the final URL.
Corresponds to the JSON property finalUrlSuffix
3720 3721 3722 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3720 def final_url_suffix @final_url_suffix end |
#id ⇒ Fixnum
Output only. The ID of the customer.
Corresponds to the JSON property id
3725 3726 3727 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3725 def id @id end |
#last_modified_time ⇒ String
Output only. The datetime when this customer was last modified. The datetime
is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss.ssssss" format.
Corresponds to the JSON property lastModifiedTime
3731 3732 3733 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3731 def last_modified_time @last_modified_time end |
#manager ⇒ Boolean Also known as: manager?
Output only. Whether the customer is a manager.
Corresponds to the JSON property manager
3736 3737 3738 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3736 def manager @manager end |
#resource_name ⇒ String
Immutable. The resource name of the customer. Customer resource names have the
form: customers/customer_id`
Corresponds to the JSON propertyresourceName`
3743 3744 3745 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3743 def resource_name @resource_name end |
#status ⇒ String
Output only. The status of the customer.
Corresponds to the JSON property status
3748 3749 3750 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3748 def status @status end |
#time_zone ⇒ String
Immutable. The local timezone ID of the customer.
Corresponds to the JSON property timeZone
3753 3754 3755 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3753 def time_zone @time_zone end |
#tracking_url_template ⇒ String
The URL template for constructing a tracking URL out of parameters.
Corresponds to the JSON property trackingUrlTemplate
3758 3759 3760 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3758 def tracking_url_template @tracking_url_template end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 |
# File 'lib/google/apis/searchads360_v0/classes.rb', line 3765 def update!(**args) @account_status = args[:account_status] if args.key?(:account_status) @account_type = args[:account_type] if args.key?(:account_type) @auto_tagging_enabled = args[:auto_tagging_enabled] if args.key?(:auto_tagging_enabled) @conversion_tracking_setting = args[:conversion_tracking_setting] if args.key?(:conversion_tracking_setting) @creation_time = args[:creation_time] if args.key?(:creation_time) @currency_code = args[:currency_code] if args.key?(:currency_code) @descriptive_name = args[:descriptive_name] if args.key?(:descriptive_name) @double_click_campaign_manager_setting = args[:double_click_campaign_manager_setting] if args.key?(:double_click_campaign_manager_setting) @engine_id = args[:engine_id] if args.key?(:engine_id) @final_url_suffix = args[:final_url_suffix] if args.key?(:final_url_suffix) @id = args[:id] if args.key?(:id) @last_modified_time = args[:last_modified_time] if args.key?(:last_modified_time) @manager = args[:manager] if args.key?(:manager) @resource_name = args[:resource_name] if args.key?(:resource_name) @status = args[:status] if args.key?(:status) @time_zone = args[:time_zone] if args.key?(:time_zone) @tracking_url_template = args[:tracking_url_template] if args.key?(:tracking_url_template) end |