Class MediaResource.UploadRequest
Inserts a new creative asset.
Inheritance
MediaResource.UploadRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class MediaResource.UploadRequest : DfareportingBaseServiceRequest<CreativeAssetMetadata>, IClientServiceRequest<CreativeAssetMetadata>, IClientServiceRequest
Constructors
UploadRequest(IClientService, CreativeAssetMetadata, long, long)
Constructs a new Upload request.
Declaration
public UploadRequest(IClientService service, CreativeAssetMetadata body, long profileId, long advertiserId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
CreativeAssetMetadata | body | |
long | profileId | |
long | 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 |
---|---|
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 Upload parameter list.
Declaration
protected override void InitParameters()