Class BillingAssignmentsResource
The "billingAssignments" collection of methods.
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class BillingAssignmentsResource
Constructors
BillingAssignmentsResource(IClientService)
Constructs a new resource.
Declaration
public BillingAssignmentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Insert(BillingAssignment, long, long)
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.
Declaration
public virtual BillingAssignmentsResource.InsertRequest Insert(BillingAssignment body, long profileId, long billingProfileId)
Parameters
Type | Name | Description |
---|---|---|
BillingAssignment | body | The body of the request. |
long | profileId | User profile ID associated with this request. |
long | billingProfileId | Billing profile ID of this billing assignment. |
Returns
Type | Description |
---|---|
BillingAssignmentsResource.InsertRequest |
List(long, long)
Retrieves a list of billing assignments.
Declaration
public virtual BillingAssignmentsResource.ListRequest List(long profileId, long billingProfileId)
Parameters
Type | Name | Description |
---|---|---|
long | profileId | User profile ID associated with this request. |
long | billingProfileId | Billing profile ID of this billing assignment. |
Returns
Type | Description |
---|---|
BillingAssignmentsResource.ListRequest |