Show / Hide Table of Contents

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
object
ClientServiceRequest
ClientServiceRequest<BillingAssignment>
DfareportingBaseServiceRequest<BillingAssignment>
BillingAssignmentsResource.InsertRequest
Implements
IClientServiceRequest<BillingAssignment>
IClientServiceRequest
Inherited Members
DfareportingBaseServiceRequest<BillingAssignment>.Xgafv
DfareportingBaseServiceRequest<BillingAssignment>.AccessToken
DfareportingBaseServiceRequest<BillingAssignment>.Alt
DfareportingBaseServiceRequest<BillingAssignment>.Callback
DfareportingBaseServiceRequest<BillingAssignment>.Fields
DfareportingBaseServiceRequest<BillingAssignment>.Key
DfareportingBaseServiceRequest<BillingAssignment>.OauthToken
DfareportingBaseServiceRequest<BillingAssignment>.PrettyPrint
DfareportingBaseServiceRequest<BillingAssignment>.QuotaUser
DfareportingBaseServiceRequest<BillingAssignment>.UploadType
DfareportingBaseServiceRequest<BillingAssignment>.UploadProtocol
ClientServiceRequest<BillingAssignment>.Execute()
ClientServiceRequest<BillingAssignment>.ExecuteAsStream()
ClientServiceRequest<BillingAssignment>.ExecuteAsync()
ClientServiceRequest<BillingAssignment>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BillingAssignment>.ExecuteAsStreamAsync()
ClientServiceRequest<BillingAssignment>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BillingAssignment>.CreateRequest(bool?)
ClientServiceRequest<BillingAssignment>.GenerateRequestUri()
ClientServiceRequest<BillingAssignment>.GetDefaultETagAction(string)
ClientServiceRequest<BillingAssignment>.ETagAction
ClientServiceRequest<BillingAssignment>.ModifyRequest
ClientServiceRequest<BillingAssignment>.ValidateParameters
ClientServiceRequest<BillingAssignment>.ApiVersion
ClientServiceRequest<BillingAssignment>.RequestParameters
ClientServiceRequest<BillingAssignment>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
ClientServiceRequest<BillingAssignment>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<BillingAssignment>.MethodName

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
ClientServiceRequest<BillingAssignment>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<BillingAssignment>.GetBody()

InitParameters()

Initializes Insert parameter list.

Declaration
protected override void InitParameters()
Overrides
DfareportingBaseServiceRequest<BillingAssignment>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX