共用方式為


BingAdsAccount

包含用來取得帳戶資訊的方法,例如名稱、客戶識別碼和帳戶層級效能資料。

方法

方法名稱 傳回類型 說明
getAccountId 字串 取得此帳戶的識別碼。
getAccountNumber 字串 取得此帳戶的帳戶號碼。
getCurrencyCode 字串 取得此帳戶的貨幣代碼。
getCustomerId 字串 取得擁有此帳戶之客戶的識別碼。
getEntityType 字串 取得這個實體的類型。
getName 字串 取得此帳戶的名稱。
getStats BingAdsAccountStats 取得此帳戶的效能資料。
getTimeZone 字串 取得此帳戶的時區。

getAccountId

取得此帳戶的識別碼。

傳回

類型 描述
字串 可唯一識別此帳戶的識別碼。

getAccountNumber

取得此帳戶的帳戶號碼。

傳回

類型 描述
字串 帳戶的帳戶號碼,用來識別 Microsoft Advertising Web 應用程式中的帳戶。

getCurrencyCode

取得此帳戶的貨幣代碼。

傳回

類型 描述
字串 此帳戶使用的貨幣貨幣。 例如,美國美元。

getCustomerId

取得擁有此帳戶之客戶的識別碼。

傳回

類型 描述
字串 擁有此帳戶的客戶識別碼。

getEntityType

取得這個實體的類型。

傳回

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

getName

取得此 Managed 帳戶的名稱。

傳回

類型 描述
字串 這個 Managed 帳戶的名稱。

getStats

取得這個 Managed 帳戶的效能資料。

若要呼叫這個方法,您必須在帳戶選取器的鏈結中包含其中 forDateRange 一個方法。

傳回:

類型 說明
BingAdsAccountStats 此 Managed 帳戶的效能資料。

getTimeZone

取得此帳戶的時區。

傳回

類型 描述
字串 此帳戶中用於行銷活動的慣用時區。 如需時區清單,請參閱 帳戶時區

另請參閱