---
title: "POST /userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments"
method: POST
path: "/userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments"
tags: ["billingAssignments"]
---

# POST /userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments

`POST /userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments`

Inserts a new billing assignment and returns the new assignment. Only one of advertiser_id or campaign_id is support per request. If the new assignment has no effect (assigning a campaign to the parent advertiser billing profile or assigning an advertiser to the account billing profile), no assignment will be returned.

## Path parameters

- `profileId` string, required
- `billingProfileId` string, required

## Request body

- BillingAssignment — List account, subaccount, advertiser, and campaign associated with a given Billing Profile.
  - `advertiserId` string — ID of the advertiser associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single advertiser
  - `campaignId` string — ID of the campaign associated with the billing assignment. Wildcard (*) means this assignment is not limited to a single campaign
  - `kind` string — Identifies what kind of resource this is. Value: the fixed string "dfareporting#billingAssignment".
  - `accountId` string — ID of the account associated with the billing assignment.This is a read-only, auto-generated field.
  - `subaccountId` string — ID of the subaccount associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single subaccountThis is a read-only, auto-generated field.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/dfareporting.md) · [All operations](https://skmtc.net/google/apis/dfareporting/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/dfareporting/revisions/8163d57aeb31/schema)
