Class: Google::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesCustomer

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V0ResourcesCustomer

Returns a new instance of GoogleAdsSearchads360V0ResourcesCustomer.



6200
6201
6202
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6200

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#account_statusString

Output only. Account status, for example, Enabled, Paused, Removed, etc. Corresponds to the JSON property accountStatus

Returns:

  • (String)


6110
6111
6112
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6110

def 
  @account_status
end

#account_typeString

Output only. Engine account type, for example, Google Ads, Microsoft Advertising, Yahoo Japan, Baidu, Facebook, Engine Track, etc. Corresponds to the JSON property accountType

Returns:

  • (String)


6116
6117
6118
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6116

def 
  @account_type
end

#auto_tagging_enabledBoolean Also known as: auto_tagging_enabled?

Whether auto-tagging is enabled for the customer. Corresponds to the JSON property autoTaggingEnabled

Returns:

  • (Boolean)


6121
6122
6123
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6121

def auto_tagging_enabled
  @auto_tagging_enabled
end

#conversion_tracking_settingGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesConversionTrackingSetting

A collection of customer-wide settings related to Search Ads 360 Conversion Tracking. Corresponds to the JSON property conversionTrackingSetting



6128
6129
6130
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6128

def conversion_tracking_setting
  @conversion_tracking_setting
end

#creation_timeString

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

Returns:

  • (String)


6134
6135
6136
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6134

def creation_time
  @creation_time
end

#currency_codeString

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

Returns:

  • (String)


6140
6141
6142
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6140

def currency_code
  @currency_code
end

#descriptive_nameString

Optional, non-unique descriptive name of the customer. Corresponds to the JSON property descriptiveName

Returns:

  • (String)


6145
6146
6147
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6145

def descriptive_name
  @descriptive_name
end

#double_click_campaign_manager_settingGoogle::Apis::Searchads360V0::GoogleAdsSearchads360V0ResourcesDoubleClickCampaignManagerSetting

DoubleClick Campaign Manager (DCM) setting for a manager customer. Corresponds to the JSON property doubleClickCampaignManagerSetting



6150
6151
6152
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6150

def double_click_campaign_manager_setting
  @double_click_campaign_manager_setting
end

#engine_idString

Output only. ID of the account in the external engine account. Corresponds to the JSON property engineId

Returns:

  • (String)


6155
6156
6157
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6155

def engine_id
  @engine_id
end

#final_url_suffixString

The URL template for appending params to the final URL. Corresponds to the JSON property finalUrlSuffix

Returns:

  • (String)


6160
6161
6162
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6160

def final_url_suffix
  @final_url_suffix
end

#idFixnum

Output only. The ID of the customer. Corresponds to the JSON property id

Returns:

  • (Fixnum)


6165
6166
6167
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6165

def id
  @id
end

#last_modified_timeString

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

Returns:

  • (String)


6171
6172
6173
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6171

def last_modified_time
  @last_modified_time
end

#managerBoolean Also known as: manager?

Output only. Whether the customer is a manager. Corresponds to the JSON property manager

Returns:

  • (Boolean)


6176
6177
6178
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6176

def manager
  @manager
end

#resource_nameString

Immutable. The resource name of the customer. Customer resource names have the form: customers/customer_id` Corresponds to the JSON propertyresourceName`

Returns:

  • (String)


6183
6184
6185
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6183

def resource_name
  @resource_name
end

#statusString

Output only. The status of the customer. Corresponds to the JSON property status

Returns:

  • (String)


6188
6189
6190
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6188

def status
  @status
end

#time_zoneString

Immutable. The local timezone ID of the customer. Corresponds to the JSON property timeZone

Returns:

  • (String)


6193
6194
6195
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6193

def time_zone
  @time_zone
end

#tracking_url_templateString

The URL template for constructing a tracking URL out of parameters. Corresponds to the JSON property trackingUrlTemplate

Returns:

  • (String)


6198
6199
6200
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6198

def tracking_url_template
  @tracking_url_template
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
# File 'lib/google/apis/searchads360_v0/classes.rb', line 6205

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