Class DynamicTargetingKeysResource.DeleteRequest
Deletes an existing dynamic targeting key.
Inheritance
DynamicTargetingKeysResource.DeleteRequest
Inherited Members
Namespace: Google.Apis.Dfareporting.v4
Assembly: Google.Apis.Dfareporting.v4.dll
Syntax
public class DynamicTargetingKeysResource.DeleteRequest : DfareportingBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest
Constructors
DeleteRequest(IClientService, long, long, string, ObjectTypeEnum)
Constructs a new Delete request.
Declaration
public DeleteRequest(IClientService service, long profileId, long objectId, string name, DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum objectType)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | profileId | |
long | objectId | |
string | name | |
DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum | objectType |
Properties
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
Name
Required. Name of this dynamic targeting key. This is a required field. Must be less than 256 characters long and cannot contain commas. All characters are converted to lowercase.
Declaration
[RequestParameter("name", RequestParameterType.Query)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
ObjectId
ID of the object of this dynamic targeting key. This is a required field.
Declaration
[RequestParameter("objectId", RequestParameterType.Path)]
public virtual long ObjectId { get; }
Property Value
Type | Description |
---|---|
long |
ObjectType
Required. Type of the object of this dynamic targeting key. This is a required field.
Declaration
[RequestParameter("objectType", RequestParameterType.Query)]
public virtual DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum ObjectType { get; }
Property Value
Type | Description |
---|---|
DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum |
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
InitParameters()
Initializes Delete parameter list.
Declaration
protected override void InitParameters()