v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
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.

post/userprofiles/{+profileId}/billingProfiles/{+billingProfileId}/billingAssignments

Path parameters

profileIdstring required

User profile ID associated with this request.

billingProfileIdstring required

Billing profile ID of this billing assignment.

Request body

advertiserIdstring

ID of the advertiser associated with the billing assignment.Wildcard (*) means this assignment is not limited to a single advertiser

campaignIdstring

ID of the campaign associated with the billing assignment. Wildcard (*) means this assignment is not limited to a single campaign

kindstring

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

accountIdstring

ID of the account associated with the billing assignment.This is a read-only, auto-generated field.

subaccountIdstring

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

Successful response