AudienceMember

The audience member to be operated on.

JSON representation
{
  "consent": {
    object (Consent)
  },

  // Union field data can be only one of the following:
  "userData": {
    object (UserData)
  },
  "pairData": {
    object (PairData)
  },
  "mobileData": {
    object (MobileData)
  }
  // End of list of possible types for union field data.
}
Fields
consent

object (Consent)

Optional. The consent setting for the user.

Union field data. The type of identifying data to be operated on. data can be only one of the following:
userData

object (UserData)

User-provided data that identifies the user.

pairData

object (PairData)

Publisher Advertiser Identity Reconciliation (PAIR) IDs.

mobileData

object (MobileData)

Data identifying the user's mobile devices.

UserData

Data that identifies the user. At least one identifier is required.

JSON representation
{
  "userIdentifiers": [
    {
      object (UserIdentifier)
    }
  ]
}
Fields
userIdentifiers[]

object (UserIdentifier)

Required. The identifiers for the user. It's possible to provide multiple instances of the same type of data (for example, multiple email addresses). To increase the likelihood of a match, provide as many identifiers as possible. At most 10 userIdentifiers can be provided in a single AudienceMember.

UserIdentifier

A single identifier for the user.

JSON representation
{

  // Union field identifier can be only one of the following:
  "emailAddress": string,
  "phoneNumber": string,
  "address": {
    object (AddressInfo)
  }
  // End of list of possible types for union field identifier.
}
Fields
Union field identifier. Exactly one must be specified. identifier can be only one of the following:
emailAddress

string

Hashed email address using SHA-256 hash function after normalization.

phoneNumber

string

Hashed phone number using SHA-256 hash function after normalization (E164 standard).

address

object (AddressInfo)

The known components of a user's address. Holds a grouping of identifiers that are matched all at once.

AddressInfo

Address information for the user.

JSON representation
{
  "givenName": string,
  "familyName": string,
  "regionCode": string,
  "postalCode": string
}
Fields
givenName

string

Required. Given (first) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.

familyName

string

Required. Family (last) name of the user, all lowercase, with no punctuation, no leading or trailing whitespace, and hashed as SHA-256.

regionCode

string

Required. The 2-letter region code in ISO-3166-1 alpha-2 of the user's address.

postalCode

string

Required. The postal code of the user's address.

PairData

PAIR IDs for the audience. At least one PAIR ID is required.

JSON representation
{
  "pairIds": [
    string
  ]
}
Fields
pairIds[]

string

Required. Cleanroom-provided PII data, hashed with SHA256, and encrypted with an EC commutative cipher using publisher key for the PAIR user list. At most 10 pairIds can be provided in a single AudienceMember.

MobileData

Mobile IDs for the audience. At least one mobile ID is required.

JSON representation
{
  "mobileIds": [
    string
  ]
}
Fields
mobileIds[]

string

Required. The list of mobile device IDs (advertising ID/IDFA). At most 10 mobileIds can be provided in a single AudienceMember.