Class AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource
The "assignedTargetingOptions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource
Constructors
AssignedTargetingOptionsResource(IClientService)
Constructs a new resource.
Declaration
public AssignedTargetingOptionsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(AssignedTargetingOption, long, long, TargetingTypeEnum)
Assigns a targeting option to an insertion order. Returns the assigned targeting option if
successful. Supported targeting types: * TARGETING_TYPE_AGE_RANGE * TARGETING_TYPE_BROWSER *
TARGETING_TYPE_CATEGORY * TARGETING_TYPE_CHANNEL * TARGETING_TYPE_DEVICE_MAKE_MODEL *
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION * TARGETING_TYPE_ENVIRONMENT *
TARGETING_TYPE_GENDER * TARGETING_TYPE_KEYWORD * TARGETING_TYPE_LANGUAGE *
TARGETING_TYPE_NEGATIVE_KEYWORD_LIST * TARGETING_TYPE_OPERATING_SYSTEM *
TARGETING_TYPE_PARENTAL_STATUS * TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION *
TARGETING_TYPE_VIEWABILITY
Declaration
public virtual AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest Create(AssignedTargetingOption body, long advertiserId, long insertionOrderId, AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest.TargetingTypeEnum targetingType)
Parameters
| Type | Name | Description |
|---|---|---|
| AssignedTargetingOption | body | The body of the request. |
| long | advertiserId | Required. The ID of the advertiser the insertion order belongs to. |
| long | insertionOrderId | Required. The ID of the insertion order the assigned targeting option will belong to. |
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types: *
|
Returns
| Type | Description |
|---|---|
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest |
Delete(long, long, TargetingTypeEnum, string)
Deletes an assigned targeting option from an insertion order. Supported targeting types: *
TARGETING_TYPE_AGE_RANGE * TARGETING_TYPE_BROWSER * TARGETING_TYPE_CATEGORY *
TARGETING_TYPE_CHANNEL * TARGETING_TYPE_DEVICE_MAKE_MODEL *
TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION * TARGETING_TYPE_ENVIRONMENT *
TARGETING_TYPE_GENDER * TARGETING_TYPE_KEYWORD * TARGETING_TYPE_LANGUAGE *
TARGETING_TYPE_NEGATIVE_KEYWORD_LIST * TARGETING_TYPE_OPERATING_SYSTEM *
TARGETING_TYPE_PARENTAL_STATUS * TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION *
TARGETING_TYPE_VIEWABILITY
Declaration
public virtual AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest Delete(long advertiserId, long insertionOrderId, AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | advertiserId | Required. The ID of the advertiser the insertion order belongs to. |
| long | insertionOrderId | Required. The ID of the insertion order the assigned targeting option belongs to. |
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types: *
|
| string | assignedTargetingOptionId | Required. The ID of the assigned targeting option to delete. |
Returns
| Type | Description |
|---|---|
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest |
Get(long, long, TargetingTypeEnum, string)
Gets a single targeting option assigned to an insertion order.
Declaration
public virtual AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest Get(long advertiserId, long insertionOrderId, AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
| Type | Name | Description |
|---|---|---|
| long | advertiserId | Required. The ID of the advertiser the insertion order belongs to. |
| long | insertionOrderId | Required. The ID of the insertion order the assigned targeting option belongs to. |
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types
include: *
|
| string | assignedTargetingOptionId | Required. An identifier unique to the targeting type in this insertion order that identifies the assigned targeting option being requested. |
Returns
| Type | Description |
|---|---|
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest |
List(long, long, TargetingTypeEnum)
Lists the targeting options assigned to an insertion order.
Declaration
public virtual AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest List(long advertiserId, long insertionOrderId, AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType)
Parameters
| Type | Name | Description |
|---|---|---|
| long | advertiserId | Required. The ID of the advertiser the insertion order belongs to. |
| long | insertionOrderId | Required. The ID of the insertion order to list assigned targeting options for. |
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of assigned targeting options to list. Supported targeting types
include: *
|
Returns
| Type | Description |
|---|---|
| AdvertisersResource.InsertionOrdersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest |