---
title: "PUT /userprofiles/{userprofilesId}/billingProfiles"
method: PUT
path: "/userprofiles/{userprofilesId}/billingProfiles"
tags: ["billingProfiles"]
---

# PUT /userprofiles/{userprofilesId}/billingProfiles

`PUT /userprofiles/{userprofilesId}/billingProfiles`

## Request

- Base URL: `https://dfareporting.googleapis.com/dfareporting/v5`
- URL: `https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{userprofilesId}/billingProfiles`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/dfatrafficking`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/dfatrafficking`
- TypeScript: <https://skmtc.dev/google/apis/dfareporting/docs/userprofiles/:userprofilesId/billingProfiles/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates an existing billing profile.

## Path parameters

- `userprofilesId` string, required

## Request body

- BillingProfile: Contains properties of a Campaign Manager Billing Profile.
  - `consolidatedInvoice` boolean: Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.
  - `countryCode` string: Country code of this billing profile.This is a read-only field.
  - `currencyCode` string: Billing currency code in ISO 4217 format.This is a read-only field.
  - `id` string, int64: ID of this billing profile. This is a read-only, auto-generated field.
  - `invoiceLevel` 'ACCOUNT_LEVEL' | 'ADVERTISER_LEVEL' | 'CAMPAIGN_LEVEL': Invoice level for this billing profile. Used to group fees into separate invoices by account, advertiser, or campaign.
  - `isDefault` boolean: True if the billing profile is the account default profile. This is a read-only field.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#billingProfile".
  - `name` string: Name of this billing profile. This is a required field and must be less than 256 characters long and must be unique among billing profile in the same account.
  - `paymentsAccountId` string: The ID of the payment account the billing profile belongs to. This is a read-only field.
  - `paymentsCustomerId` string: The ID of the payment customer the billing profile belongs to. This is a read-only field.
  - `purchaseOrder` string: Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.
  - `secondaryPaymentsCustomerId` string: The ID of the secondary payment customer the billing profile belongs to. This is a read-only field.
  - `status` 'UNDER_REVIEW' | 'ACTIVE' | 'ARCHIVED': Status of this billing profile.This is a read-only field.

## Response `200`

Successful response

- BillingProfile: Contains properties of a Campaign Manager Billing Profile.
  - `consolidatedInvoice` boolean: Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.
  - `countryCode` string: Country code of this billing profile.This is a read-only field.
  - `currencyCode` string: Billing currency code in ISO 4217 format.This is a read-only field.
  - `id` string, int64: ID of this billing profile. This is a read-only, auto-generated field.
  - `invoiceLevel` 'ACCOUNT_LEVEL' | 'ADVERTISER_LEVEL' | 'CAMPAIGN_LEVEL': Invoice level for this billing profile. Used to group fees into separate invoices by account, advertiser, or campaign.
  - `isDefault` boolean: True if the billing profile is the account default profile. This is a read-only field.
  - `kind` string: Identifies what kind of resource this is. Value: the fixed string "dfareporting#billingProfile".
  - `name` string: Name of this billing profile. This is a required field and must be less than 256 characters long and must be unique among billing profile in the same account.
  - `paymentsAccountId` string: The ID of the payment account the billing profile belongs to. This is a read-only field.
  - `paymentsCustomerId` string: The ID of the payment customer the billing profile belongs to. This is a read-only field.
  - `purchaseOrder` string: Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.
  - `secondaryPaymentsCustomerId` string: The ID of the secondary payment customer the billing profile belongs to. This is a read-only field.
  - `status` 'UNDER_REVIEW' | 'ACTIVE' | 'ARCHIVED': Status of this billing profile.This is a read-only field.

---

[API](https://skmtc.dev/google/apis/dfareporting.md) - [All operations](https://skmtc.dev/google/apis/dfareporting/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/dfareporting/revisions/be73a9a450de?raw)
