共用方式為


UserList

包含管理使用者清單的方法。 如需詳細資訊,請參閱 UserList

方法

方法名稱 傳回類型 說明
getDescription 字串 取得此使用者清單的描述。
getEntityType 字串 取得這個實體的類型,也就是 UserList。
getId 字串 取得可唯一識別此使用者清單的識別碼。
getMembershipLifeSpan int 取得時間 (天數) Microsoft Advertising 應該尋找符合此使用者清單定義的動作。
getName 字串 取得此使用者清單的名稱。
getSizeForAudienceNetwork long 取得此使用者清單在物件網路中的大小。
getSizeForSearch long 取得此使用者清單在搜尋網路中的大小。
getType 字串 取得此使用者清單的類型。
setDescription (字串描述) void 設定此使用者清單的描述。
setMembershipLifeSpan (int membershipLifeSpan) void 設定 Microsoft Advertising 應該尋找符合此使用者清單定義的動作 (天數) 多久。
setName (字串名稱) void 設定此使用者清單的名稱。
targetedAdGroups AdGroupSelector 取得 選取器 ,用來篩選使用者清單的目標廣告群組清單。

getDescription

取得使用者清單的描述。

傳回

類型 描述
字串 使用者清單的描述。

getEntityType

取得這個實體的類型。

傳回

類型 描述
字串 此實體的類型,也就是 UserList

getId

取得可唯一識別此使用者清單的識別碼。

傳回

類型 描述
字串 可唯一識別此使用者清單的識別碼。

getMembershipLifeSpan

取得時間 (天數) Microsoft Advertising 應該尋找符合此使用者清單定義的動作。

傳回:

類型 描述
字串 使用者清單的成員資格存 () 天數。

getName

取得此使用者清單的名稱。

傳回:

類型 描述
字串 使用者清單的名稱。

getSizeForAudienceNetwork

取得此使用者清單在物件網路中的大小。

傳回:

類型 說明
long 使用者清單在物件網路中的大小。

getSizeForSearch

取得此使用者清單在搜尋網路中的大小。

傳回:

類型 說明
long 搜尋網路中的使用者清單大小。

getType

取得此使用者清單的類型。

傳回:

類型 描述
字串 使用者清單的類型。

setDescription (字串描述)

設定此使用者清單的描述。

引數

名稱 類型 說明
Description 字串 使用者清單的描述。

傳回

類型 說明
void 會傳回 nothing。

setMembershipLifeSpan (字串 membershipLifeSpan)

設定 Microsoft Advertising 應該尋找符合此使用者清單定義的動作 (天數) 多久。

引數

名稱 類型 說明
membershipLifeSpan 字串 使用者清單的成員資格存 () 天數。

傳回

類型 說明
void 會傳回 nothing。

setName (字串名稱)

設定此使用者清單的名稱。

引數

名稱 類型 描述
Name 字串 使用者清單的名稱。

傳回

類型 說明
void 會傳回 nothing。

targetedAdGroups

取得 選取器 ,用來篩選使用者清單的目標廣告群組清單。

傳回

類型 說明
AdGroupSelector 用來篩選使用者清單目標廣告群組清單的選取器。

另請參閱

UserListIterator.next ()