Class CreativeAssetsResource.InsertRequest
Inserts a new creative asset.
Inheritance
System.Object
CreativeAssetsResource.InsertRequest
Inherited Members
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_2
Assembly: Google.Apis.Dfareporting.v3_2.dll
Syntax
public class InsertRequest : DfareportingBaseServiceRequest<CreativeAssetMetadata>, IClientServiceRequest<CreativeAssetMetadata>, IClientServiceRequest
Constructors
InsertRequest(IClientService, CreativeAssetMetadata, Int64, Int64)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, CreativeAssetMetadata body, long profileId, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CreativeAssetMetadata | body | |
System.Int64 | profileId | |
System.Int64 | advertiserId |
Properties
AdvertiserId
Advertiser ID of this creative. This is a required field.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
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_2.Data.CreativeAssetMetadata>.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_2.Data.CreativeAssetMetadata>.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_2.Data.CreativeAssetMetadata>.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_2.Data.CreativeAssetMetadata>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_2.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_2.Data.CreativeAssetMetadata>.InitParameters()