billingProfiles

PUT /userprofiles/{userprofilesId}/billingProfiles

Updates an existing billing profile.

Request

  • Base URL
    https://dfareporting.googleapis.com/dfareporting/v5
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/dfatrafficking
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

userprofilesIdstring required

Request body

consolidatedInvoiceboolean

Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.

countryCodestring

Country code of this billing profile.This is a read-only field.

currencyCodestring

Billing currency code in ISO 4217 format.This is a read-only field.

idstring 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.

isDefaultboolean

True if the billing profile is the account default profile. This is a read-only field.

kindstring

Identifies what kind of resource this is. Value: the fixed string "dfareporting#billingProfile".

namestring

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.

paymentsAccountIdstring

The ID of the payment account the billing profile belongs to. This is a read-only field.

paymentsCustomerIdstring

The ID of the payment customer the billing profile belongs to. This is a read-only field.

purchaseOrderstring

Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.

secondaryPaymentsCustomerIdstring

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

Successful response

consolidatedInvoiceboolean

Consolidated invoice option for this billing profile. Used to get a single, consolidated invoice across the chosen invoice level.

countryCodestring

Country code of this billing profile.This is a read-only field.

currencyCodestring

Billing currency code in ISO 4217 format.This is a read-only field.

idstring 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.

isDefaultboolean

True if the billing profile is the account default profile. This is a read-only field.

kindstring

Identifies what kind of resource this is. Value: the fixed string "dfareporting#billingProfile".

namestring

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.

paymentsAccountIdstring

The ID of the payment account the billing profile belongs to. This is a read-only field.

paymentsCustomerIdstring

The ID of the payment customer the billing profile belongs to. This is a read-only field.

purchaseOrderstring

Purchase order (PO) for this billing profile. This PO number is used in the invoices for all of the advertisers in this billing profile.

secondaryPaymentsCustomerIdstring

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.

Changes

No recorded changes to this operation across all 5 revisions of this API.