REST Resource: billingAssignments
Stay organized with collections
Save and categorize content based on your preferences.
Resource: BillingAssignment
billingAssignments.list account, subaccount, advertiser, and campaign associated with a given Billing Profile.
JSON representation |
{
"accountId": string,
"subaccountId": string,
"advertiserId": string,
"campaignId": string,
"kind": string
} |
Fields |
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.
|
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"
.
|
Methods |
|
Inserts a new billing assignment and returns the new assignment. |
|
Retrieves a list of billing assignments. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eBillingAssignment resource connects a billing profile to accounts, subaccounts, advertisers, and campaigns within Campaign Manager 360.\u003c/p\u003e\n"],["\u003cp\u003eYou can view the JSON representation and fields for a BillingAssignment resource, including accountId, subaccountId, advertiserId, campaignId, and kind.\u003c/p\u003e\n"],["\u003cp\u003eAvailable methods for BillingAssignment include inserting a new assignment and retrieving a list of existing assignments.\u003c/p\u003e\n"]]],[],null,["# REST Resource: billingAssignments\n\n- [Resource: BillingAssignment](#BillingAssignment)\n - [JSON representation](#BillingAssignment.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: BillingAssignment\n---------------------------\n\nbillingAssignments.list account, subaccount, advertiser, and campaign associated with a given [Billing Profile](https://support.google.com/campaignmanager/answer/10613970).\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------|\n| ``` { \"accountId\": string, \"subaccountId\": string, \"advertiserId\": string, \"campaignId\": string, \"kind\": string } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `account``Id` | `string` ID of the account associated with the billing assignment.This is a read-only, auto-generated field. |\n| `subaccount``Id` | `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. |\n| `advertiser``Id` | `string` ID of the advertiser associated with the billing assignment.Wildcard ( `*` ) means this assignment is not limited to a single advertiser |\n| `campaign``Id` | `string` ID of the campaign associated with the billing assignment. Wildcard ( `*` ) means this assignment is not limited to a single campaign |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#billingAssignment\"` . |\n\n| Methods ------- ||\n|--------------------------------------------------------------------------|------------------------------------------------------------------|\n| ### [insert](/doubleclick-advertisers/rest/v4/billingAssignments/insert) | Inserts a new billing assignment and returns the new assignment. |\n| ### [list](/doubleclick-advertisers/rest/v4/billingAssignments/list) | Retrieves a list of billing assignments. |"]]