Miscellaneous information about Google Ads Accounts. When accessed by [AdsApp.currentAccount()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp#currentAccount), it will provide information about the account in which the script is currently running.

### Methods:

| Member | Type | Description |
|---|---|---|
| [addCallout(calloutExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#addCallout_calloutExtension) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_calloutoperation` | Adds a callout extension to this account. |
| [addMobileApp(mobileAppExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#addMobileApp_mobileAppExtension) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_mobileappoperation` | Adds a mobile app extension to this account. |
| [addPrice(priceExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#addPrice_priceExtension) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_priceoperation` | Adds a price extension to this account. |
| [addSitelink(sitelinkExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#addSitelink_sitelinkExtension) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_sitelinkoperation` | Adds a sitelink extension to this account. |
| [addSnippet(snippetExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#addSnippet_snippetExtension) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_snippetoperation` | Adds a snippet extension to this account. |
| [extensions()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#extensions) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountextensions` | Provides access to account-level extensions: [AccountCallout](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountcallout), [AccountMobileApp](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountmobileapp), [AccountPhoneNumber](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountphonenumber), [AccountSitelink](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountsitelink), and [AccountSnippet](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountsnippet). |
| [getCurrencyCode()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getCurrencyCode) | `String` | Returns the currency code of the account. |
| [getCustomerId()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getCustomerId) | `String` | Returns the customer ID of the account. |
| [getEntityType()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `"Account"`. |
| [getName()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getName) | `String` | Returns the name of the account. |
| [getStatsFor(dateRange)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getStatsFor_dateRange) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_stats` | Returns stats for the specified date range. |
| [getStatsFor(dateFrom, dateTo)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getStatsFor_dateFrom-dateTo) | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_stats` | Returns stats for the specified custom date range. |
| [getTimeZone()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#getTimeZone) | `String` | Returns the POSIX time zone of the account. |
| [removeCallout(calloutExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#removeCallout_calloutExtension) | `void` | Removes a callout extension from this account. |
| [removeMobileApp(mobileAppExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#removeMobileApp_mobileAppExtension) | `void` | Removes a mobile app extension from this account. |
| [removePrice(priceExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#removePrice_priceExtension) | `void` | Removes a price extension from this account. |
| [removeSitelink(sitelinkExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#removeSitelink_sitelinkExtension) | `void` | Removes a sitelink extension from this account. |
| [removeSnippet(snippetExtension)](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_account#removeSnippet_snippetExtension) | `void` | Removes a snippet extension from this account. |

## `addCallout(calloutExtension)`

Adds a callout extension to this account. See also [Extensions.newCalloutBuilder()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensions#newCalloutBuilder)

### Arguments:

| Name | Type | Description |
|---|---|---|
| calloutExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_callout` | The callout to add to this account. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_calloutoperation` | The associated callout operation. |

## `addMobileApp(mobileAppExtension)`

Adds a mobile app extension to this account. See also [Extensions.newMobileAppBuilder()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensions#newMobileAppBuilder)

### Arguments:

| Name | Type | Description |
|---|---|---|
| mobileAppExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_mobileapp` | The mobile app to add to this account. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_mobileappoperation` | The associated mobile app operation. |

## `addPrice(priceExtension)`

Adds a price extension to this account. See also [Extensions.newPriceBuilder()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensions#newPriceBuilder).

### Arguments:

| Name | Type | Description |
|---|---|---|
| priceExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_price` | The price to add to this account. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_priceoperation` | The associated price operation. |

## `addSitelink(sitelinkExtension)`

Adds a sitelink extension to this account. See also [Extensions.newSitelinkBuilder()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensions#newSitelinkBuilder)

### Arguments:

| Name | Type | Description |
|---|---|---|
| sitelinkExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_sitelink` | The sitelink to add to this account. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_sitelinkoperation` | The associated sitelink operation. |

## `addSnippet(snippetExtension)`

Adds a snippet extension to this account. See also [Extensions.newSnippetBuilder()](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_extensions#newSnippetBuilder)

### Arguments:

| Name | Type | Description |
|---|---|---|
| snippetExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_snippet` | The snippet to add to this account. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_snippetoperation` | The associated snippet operation. |

## `extensions()`

Provides access to account-level extensions: [AccountCallout](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountcallout), [AccountMobileApp](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountmobileapp), [AccountPhoneNumber](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountphonenumber), [AccountSitelink](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountsitelink), and [AccountSnippet](https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountsnippet).

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_accountextensions` | Access to account-level extensions. |

## `getCurrencyCode()`

Returns the currency code of the account. The returned values are in the three-letter ISO 4217 format, e.g. `'USD'`, `'CAD'`, `'JPY'`, etc.

Please refer to [Google
Ads API Currency Codes](https://developers.google.com/google-ads/api/reference/data/codes-formats#currency-codes) for the full list of possible return values.

### Return values:

| Type | Description |
|---|---|
| `String` | The currency code of the account. |

## `getCustomerId()`

Returns the customer ID of the account.

The returned value is in the standard Google Ads format, e.g.
`'123-456-7890'`.

### Return values:

| Type | Description |
|---|---|
| `String` | The customer ID of the account. |

## `getEntityType()`

Returns the type of this entity as a `String`, in this case, `"Account"`.

### Return values:

| Type | Description |
|---|---|
| `String` | Type of this entity: `"Account"`. |

## `getName()`

Returns the name of the account.

### Return values:

| Type | Description |
|---|---|
| `String` | The account descriptive name, or `null` if one doesn't exist. |

## `getStatsFor(dateRange)`

Returns stats for the specified date range. Supported values:

`TODAY, YESTERDAY, LAST_7_DAYS, THIS_WEEK_SUN_TODAY, LAST_WEEK,
LAST_14_DAYS, LAST_30_DAYS, LAST_BUSINESS_WEEK, LAST_WEEK_SUN_SAT,
THIS_MONTH, LAST_MONTH, ALL_TIME`.

Example:

```
var stats = account.getStatsFor("THIS_MONTH");
```

### Arguments:

| Name | Type | Description |
|---|---|---|
| dateRange | `String` | Date range for which the stats are requested. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_stats` | The stats for the specified date range. |

## `getStatsFor(dateFrom, dateTo)`

Returns stats for the specified custom date range. Both parameters can be either an object containing year, month, and day fields, or an 8-digit string in `YYYYMMDD` form. For instance, `March 24th,
2013` is represented as either `{year: 2013, month: 3, day:
24}` or `"20130324"`. The date range is inclusive on both ends, so `forDateRange("20130324", "20130324")` defines a range of a single day.

### Arguments:

| Name | Type | Description |
|---|---|---|
| dateFrom | `Object` | Start date of the date range. Must be either a string in `YYYYMMDD` form, or an object with `year`, `month` and `day` properties. |
| dateTo | `Object` | End date of the date range. Must be either a string in `YYYYMMDD` form, or an object with `year`, `month` and `day` properties. |

### Return values:

| Type | Description |
|---|---|
| `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_stats` | The stats for the specified date range. |

## `getTimeZone()`

Returns the POSIX time zone of the account.

Returned values are in the standard time zone identifier form, such as
`'America/Los_Angeles'`.

Please refer to [Google Ads
API Timezones](https://developers.google.com/google-ads/api/reference/data/codes-formats#timezone-ids) for the full list of possible return values.

### Return values:

| Type | Description |
|---|---|
| `String` | The time zone of the account. |

## `removeCallout(calloutExtension)`

Removes a callout extension from this account.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| calloutExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_callout` | The callout to remove from this account. |

## `removeMobileApp(mobileAppExtension)`

Removes a mobile app extension from this account.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| mobileAppExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_mobileapp` | The mobile app to remove from this account. |

## `removePrice(priceExtension)`

Removes a price extension from this account.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| priceExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_price` | The price to remove from this account. |

## `removeSitelink(sitelinkExtension)`

Removes a sitelink extension from this account.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| sitelinkExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_sitelink` | The sitelink to remove from this account. |

## `removeSnippet(snippetExtension)`

Removes a snippet extension from this account.

Returns nothing.

### Arguments:

| Name | Type | Description |
|---|---|---|
| snippetExtension | `https://developers.google.com/google-ads/scripts/docs/reference/adsapp/adsapp_snippet` | The snippet to remove from this account. |