Class AdsResource.InsertRequest
Inserts a new ad.
Inheritance
System.Object
Google.Apis.Requests.ClientServiceRequest
Google.Apis.Requests.ClientServiceRequest<Ad>
AdsResource.InsertRequest
Implements
Google.Apis.Requests.IClientServiceRequest<Ad>
Google.Apis.Requests.IClientServiceRequest
Inherited Members
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.Execute()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ExecuteAsStream()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ExecuteAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ExecuteAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ExecuteAsStreamAsync()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ExecuteAsStreamAsync(System.Threading.CancellationToken)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.CreateRequest(System.Nullable<System.Boolean>)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.GenerateRequestUri()
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.GetDefaultETagAction(System.String)
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ETagAction
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ModifyRequest
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.ValidateParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.RequestParameters
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.Service
Google.Apis.Requests.ClientServiceRequest._unsuccessfulResponseHandlers
Google.Apis.Requests.ClientServiceRequest._exceptionHandlers
Google.Apis.Requests.ClientServiceRequest._executeInterceptors
Google.Apis.Requests.ClientServiceRequest.AddUnsuccessfulResponseHandler(Google.Apis.Http.IHttpUnsuccessfulResponseHandler)
Google.Apis.Requests.ClientServiceRequest.AddExceptionHandler(Google.Apis.Http.IHttpExceptionHandler)
Google.Apis.Requests.ClientServiceRequest.AddExecuteInterceptor(Google.Apis.Http.IHttpExecuteInterceptor)
Google.Apis.Requests.ClientServiceRequest.Credential
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class InsertRequest : DfareportingBaseServiceRequest<Ad>, IClientServiceRequest<Ad>, IClientServiceRequest
Constructors
InsertRequest(IClientService, Ad, Int64)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, Ad body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service | |
Ad | body | |
System.Int64 | profileId |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.MethodName
ProfileId
User profile ID associated with this request.
Declaration
[RequestParameter("profileId", RequestParameterType.Path)]
public virtual long ProfileId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_4.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_4.Data.Ad>.InitParameters()
Implements
Google.Apis.Requests.IClientServiceRequest<TResponse>
Google.Apis.Requests.IClientServiceRequest