v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
billingProfiles

Updates an existing billing profile.

put/userprofiles/{+profileId}/billingProfiles

Path parameters

profileIdstring required

User profile ID associated with this request.

Request body

countryCodestring

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

status'UNDER_REVIEW' | 'ACTIVE' | 'ARCHIVED'

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

paymentsAccountIdstring

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

secondaryPaymentsCustomerIdstring

The ID of the secondary payment customer 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.

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.

kindstring

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

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.

consolidatedInvoiceboolean

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

currencyCodestring

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

isDefaultboolean

True if the billing profile is the account default profile. This is a read-only 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.

idstring int64

ID of this billing profile. This is a read-only, auto-generated field.

Response

Successful response