CustomAudienceMember

  • A custom audience member is defined by its type and a corresponding value, representing a KEYWORD, URL, PLACE_CATEGORY, or APP.

  • Custom audience members can only be created or removed, not modified after creation.

  • The value field is a union field where one of keyword, url, place_category, or app is populated based on the member_type.

  • Different member types have specific constraints on their value, such as character limits for keywords and URLs.

A member of custom audience. A member can be a KEYWORD, URL, PLACE_CATEGORY or APP. It can only be created or removed but not changed.

Fields

member_type

CustomAudienceMemberType

The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP.

Union field

value

value. The CustomAudienceMember value. One field is populated depending on the member type. value can be only one of the following:

keyword

string

A keyword or keyword phrase — at most 10 words and 80 characters. Languages with double-width characters such as Chinese, Japanese, or Korean, are allowed 40 characters, which describes the user's interests or actions.

url

string

An HTTP URL, protocol-included — at most 2048 characters, which includes contents users have interests in.

place_category

int64

A place type described by a place category users visit.

app

string

A package name of Android apps which users installed such as com.google.example.