Class: Google::Apis::DatamanagerV1::AudienceMember

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datamanager_v1/classes.rb,
lib/google/apis/datamanager_v1/representations.rb,
lib/google/apis/datamanager_v1/representations.rb

Overview

The audience member to be operated on.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AudienceMember

Returns a new instance of AudienceMember.



153
154
155
# File 'lib/google/apis/datamanager_v1/classes.rb', line 153

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

Instance Attribute Details

Digital Markets Act (DMA) consent settings for the user. Corresponds to the JSON property consent



118
119
120
# File 'lib/google/apis/datamanager_v1/classes.rb', line 118

def consent
  @consent
end

#destination_referencesArray<String>

Optional. Defines which Destination to send the audience member to. Corresponds to the JSON property destinationReferences

Returns:

  • (Array<String>)


123
124
125
# File 'lib/google/apis/datamanager_v1/classes.rb', line 123

def destination_references
  @destination_references
end

#mobile_dataGoogle::Apis::DatamanagerV1::MobileData

Mobile IDs for the audience. At least one mobile ID is required. Corresponds to the JSON property mobileData



128
129
130
# File 'lib/google/apis/datamanager_v1/classes.rb', line 128

def mobile_data
  @mobile_data
end

#pair_dataGoogle::Apis::DatamanagerV1::PairData

PAIR IDs for the audience. At least one PAIR ID is required. This feature is only available to data partners. Corresponds to the JSON property pairData



135
136
137
# File 'lib/google/apis/datamanager_v1/classes.rb', line 135

def pair_data
  @pair_data
end

#ppid_dataGoogle::Apis::DatamanagerV1::PpidData

Publisher provided identifiers data holding the ppids. At least one ppid is required. This feature is only available to data partners. Corresponds to the JSON property ppidData



141
142
143
# File 'lib/google/apis/datamanager_v1/classes.rb', line 141

def ppid_data
  @ppid_data
end

#user_dataGoogle::Apis::DatamanagerV1::UserData

Data that identifies the user. At least one identifier is required. Corresponds to the JSON property userData



146
147
148
# File 'lib/google/apis/datamanager_v1/classes.rb', line 146

def user_data
  @user_data
end

#user_id_dataGoogle::Apis::DatamanagerV1::UserIdData

User id data holding the user id. Corresponds to the JSON property userIdData



151
152
153
# File 'lib/google/apis/datamanager_v1/classes.rb', line 151

def user_id_data
  @user_id_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



158
159
160
161
162
163
164
165
166
# File 'lib/google/apis/datamanager_v1/classes.rb', line 158

def update!(**args)
  @consent = args[:consent] if args.key?(:consent)
  @destination_references = args[:destination_references] if args.key?(:destination_references)
  @mobile_data = args[:mobile_data] if args.key?(:mobile_data)
  @pair_data = args[:pair_data] if args.key?(:pair_data)
  @ppid_data = args[:ppid_data] if args.key?(:ppid_data)
  @user_data = args[:user_data] if args.key?(:user_data)
  @user_id_data = args[:user_id_data] if args.key?(:user_id_data)
end