Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonUserIdentifier

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

identifying information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonUserIdentifier

Returns a new instance of GoogleAdsSearchads360V23CommonUserIdentifier.



12453
12454
12455
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12453

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

Instance Attribute Details

#address_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonOfflineUserAddressInfo

Address identifier of offline data. Corresponds to the JSON property addressInfo



12424
12425
12426
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12424

def address_info
  @address_info
end

#hashed_emailString

Hashed email address using SHA-256 hash function after normalization. Corresponds to the JSON property hashedEmail

Returns:

  • (String)


12429
12430
12431
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12429

def hashed_email
  @hashed_email
end

#hashed_phone_numberString

Hashed phone number using SHA-256 hash function after normalization (E164 standard). Corresponds to the JSON property hashedPhoneNumber

Returns:

  • (String)


12435
12436
12437
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12435

def hashed_phone_number
  @hashed_phone_number
end

#mobile_idString

Mobile device ID (advertising ID/IDFA). Corresponds to the JSON property mobileId

Returns:

  • (String)


12440
12441
12442
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12440

def mobile_id
  @mobile_id
end

#third_party_user_idString

Advertiser-assigned user ID for Customer Match upload, or third-party-assigned user ID for Corresponds to the JSON property thirdPartyUserId

Returns:

  • (String)


12446
12447
12448
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12446

def third_party_user_id
  @third_party_user_id
end

#user_identifier_sourceString

Source of the user identifier when the upload is from Store Sales Corresponds to the JSON property userIdentifierSource

Returns:

  • (String)


12451
12452
12453
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12451

def user_identifier_source
  @user_identifier_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12458
12459
12460
12461
12462
12463
12464
12465
# File 'lib/google/apis/searchads360_v23/classes.rb', line 12458

def update!(**args)
  @address_info = args[:address_info] if args.key?(:address_info)
  @hashed_email = args[:hashed_email] if args.key?(:hashed_email)
  @hashed_phone_number = args[:hashed_phone_number] if args.key?(:hashed_phone_number)
  @mobile_id = args[:mobile_id] if args.key?(:mobile_id)
  @third_party_user_id = args[:third_party_user_id] if args.key?(:third_party_user_id)
  @user_identifier_source = args[:user_identifier_source] if args.key?(:user_identifier_source)
end