Class BillingAssignmentsResource.InsertRequest
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.
Inheritance
BillingAssignmentsResource.InsertRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class BillingAssignmentsResource.InsertRequest : DfareportingBaseServiceRequest<BillingAssignment>, IClientServiceRequest<BillingAssignment>, IClientServiceRequest
Constructors
InsertRequest(IClientService, BillingAssignment, long, long)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, BillingAssignment body, long profileId, long billingProfileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
BillingAssignment | body | |
long | profileId | |
long | billingProfileId |
Properties
BillingProfileId
Billing profile ID of this billing assignment.
Declaration
[RequestParameter("billingProfileId", RequestParameterType.Path)]
public virtual long BillingProfileId { get; }
Property Value
Type | Description |
---|---|
long |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
long |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()