Class DynamicTargetingKeysResource.InsertRequest
Inserts a new dynamic targeting key. Keys must be created at the advertiser level before being assigned to the advertiser's ads, creatives, or placements. There is a maximum of 1000 keys per advertiser, out of which a maximum of 20 keys can be assigned per ad, creative, or placement.
Inheritance
System.Object
DynamicTargetingKeysResource.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_1
Assembly: Google.Apis.Dfareporting.v3_1.dll
Syntax
public class InsertRequest : DfareportingBaseServiceRequest<DynamicTargetingKey>, IClientServiceRequest<DynamicTargetingKey>, IClientServiceRequest
Constructors
InsertRequest(IClientService, DynamicTargetingKey, Int64)
Constructs a new Insert request.
Declaration
public InsertRequest(IClientService service, DynamicTargetingKey body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
DynamicTargetingKey | 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_1.Data.DynamicTargetingKey>.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_1.Data.DynamicTargetingKey>.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_1.Data.DynamicTargetingKey>.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_1.Data.DynamicTargetingKey>.GetBody()
InitParameters()
Initializes Insert parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.Dfareporting.v3_1.DfareportingBaseServiceRequest<Google.Apis.Dfareporting.v3_1.Data.DynamicTargetingKey>.InitParameters()