Account

Contains the methods used to get account information such as name, customer ID, and account-level performance data.

Methods

Method Name Return Type Description
getAccountId string Gets the ID that uniquely identifies this account.
getAccountNumber string Gets the account number used to identify the account in the Microsoft Advertising web application.
getCurrencyCode string Gets the currency that this account uses.
getCustomerId string Gets the ID of the customer that owns this account.
getEntityType string Gets this entity's type.
getName string Gets this account's name.
getTimeZone string Gets the preferred time zone to use for campaigns in this account.

getAccountId

Gets this account's ID.

Returns

Type Description
string The ID that uniquely identifies this account.

getAccountNumber

Gets this account's account number.

Returns

Type Description
string The account number used to identify the account in the Microsoft Advertising web application.

getCurrencyCode

Gets this account's currency code.

Returns

Type Description
string The currency that this account uses. For example, USD for United States dollar.

getCustomerId

Gets the ID of the customer that owns this account.

Returns

Type Description
string The ID of the customer that owns this account.

getEntityType

Gets this entity's type.

Returns

Type Description
string This entity's type, which is Account.

getName

Gets this account's name.

Returns

Type Description
string The name of this account.

getTimeZone

Gets this account's time zone.

Returns

Type Description
string The preferred time zone to use for campaigns in this account. For a list of time zones, see Account time zones.