Show / Hide Table of Contents

Class DynamicTargetingKeysResource

The "dynamicTargetingKeys" collection of methods.

Inheritance
object
DynamicTargetingKeysResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class DynamicTargetingKeysResource

Constructors

DynamicTargetingKeysResource(IClientService)

Constructs a new resource.

Declaration
public DynamicTargetingKeysResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Delete(long, long, string, 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
long profileId

User profile ID associated with this request.

long objectId

ID of the object of this dynamic targeting key. This is a required field.

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, long)

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.

long profileId

User profile ID associated with this request.

Returns
Type Description
DynamicTargetingKeysResource.InsertRequest

List(long)

Retrieves a list of dynamic targeting keys.

Declaration
public virtual DynamicTargetingKeysResource.ListRequest List(long profileId)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

Returns
Type Description
DynamicTargetingKeysResource.ListRequest
In This Article
Back to top Generated by DocFX