Class DynamicTargetingKeysResource
The "dynamicTargetingKeys" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Dfareporting.v3_4
Assembly: Google.Apis.Dfareporting.v3_4.dll
Syntax
public class DynamicTargetingKeysResource
Constructors
DynamicTargetingKeysResource(IClientService)
Constructs a new resource.
Declaration
public DynamicTargetingKeysResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
Google.Apis.Services.IClientService | service |
Methods
Delete(Int64, Int64, String, DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum)
Deletes an existing dynamic targeting key.
Declaration
public virtual DynamicTargetingKeysResource.DeleteRequest Delete(long profileId, long objectId, string name, DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum objectType)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
System.Int64 | objectId | ID of the object of this dynamic targeting key. This is a required field. |
System.String | name | 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. |
DynamicTargetingKeysResource.DeleteRequest.ObjectTypeEnum | objectType | Type of the object of this dynamic targeting key. This is a required field. |
Returns
Type | Description |
---|---|
DynamicTargetingKeysResource.DeleteRequest |
Insert(DynamicTargetingKey, Int64)
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.
Declaration
public virtual DynamicTargetingKeysResource.InsertRequest Insert(DynamicTargetingKey body, long profileId)
Parameters
Type | Name | Description |
---|---|---|
DynamicTargetingKey | body | The body of the request. |
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
DynamicTargetingKeysResource.InsertRequest |
List(Int64)
Retrieves a list of dynamic targeting keys.
Declaration
public virtual DynamicTargetingKeysResource.ListRequest List(long profileId)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | profileId | User profile ID associated with this request. |
Returns
Type | Description |
---|---|
DynamicTargetingKeysResource.ListRequest |