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.



160
161
162
# File 'lib/google/apis/datamanager_v1/classes.rb', line 160

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

Instance Attribute Details

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



125
126
127
# File 'lib/google/apis/datamanager_v1/classes.rb', line 125

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>)


130
131
132
# File 'lib/google/apis/datamanager_v1/classes.rb', line 130

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



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

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



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

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



148
149
150
# File 'lib/google/apis/datamanager_v1/classes.rb', line 148

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



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

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



158
159
160
# File 'lib/google/apis/datamanager_v1/classes.rb', line 158

def user_id_data
  @user_id_data
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
169
170
171
172
173
# File 'lib/google/apis/datamanager_v1/classes.rb', line 165

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