Show / Hide Table of Contents

Class TargetingTypesResource.TargetingOptionsResource

The "targetingOptions" collection of methods.

Inheritance
object
TargetingTypesResource.TargetingOptionsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v4
Assembly: Google.Apis.DisplayVideo.v4.dll
Syntax
public class TargetingTypesResource.TargetingOptionsResource

Constructors

TargetingOptionsResource(IClientService)

Constructs a new resource.

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

Methods

Get(TargetingTypeEnum, string)

Gets a single targeting option.

Declaration
public virtual TargetingTypesResource.TargetingOptionsResource.GetRequest Get(TargetingTypesResource.TargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string targetingOptionId)
Parameters
Type Name Description
TargetingTypesResource.TargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType

Required. The type of targeting option to retrieve. Accepted values are: * TARGETING_TYPE_APP_CATEGORY

  • TARGETING_TYPE_AGE_RANGE * TARGETING_TYPE_GENDER * TARGETING_TYPE_VIDEO_PLAYER_SIZE * TARGETING_TYPE_USER_REWARDED_CONTENT * TARGETING_TYPE_PARENTAL_STATUS * TARGETING_TYPE_CONTENT_INSTREAM_POSITION * TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION * TARGETING_TYPE_DEVICE_TYPE * TARGETING_TYPE_BROWSER * TARGETING_TYPE_HOUSEHOLD_INCOME * TARGETING_TYPE_ON_SCREEN_POSITION * TARGETING_TYPE_CARRIER_AND_ISP * TARGETING_TYPE_OPERATING_SYSTEM * TARGETING_TYPE_DEVICE_MAKE_MODEL * TARGETING_TYPE_ENVIRONMENT * TARGETING_TYPE_CATEGORY * TARGETING_TYPE_VIEWABILITY * TARGETING_TYPE_AUTHORIZED_SELLER_STATUS * TARGETING_TYPE_LANGUAGE * TARGETING_TYPE_GEO_REGION * TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION * TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION * TARGETING_TYPE_EXCHANGE * TARGETING_TYPE_SUB_EXCHANGE * TARGETING_TYPE_NATIVE_CONTENT_POSITION * TARGETING_TYPE_OMID
string targetingOptionId

Required. The ID of the of targeting option to retrieve.

Returns
Type Description
TargetingTypesResource.TargetingOptionsResource.GetRequest

List(TargetingTypeEnum)

Lists targeting options of a given type.

Declaration
public virtual TargetingTypesResource.TargetingOptionsResource.ListRequest List(TargetingTypesResource.TargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType)
Parameters
Type Name Description
TargetingTypesResource.TargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType

Required. The type of targeting option to be listed. Accepted values are: * TARGETING_TYPE_APP_CATEGORY * TARGETING_TYPE_AGE_RANGE * TARGETING_TYPE_GENDER * TARGETING_TYPE_VIDEO_PLAYER_SIZE * TARGETING_TYPE_USER_REWARDED_CONTENT * TARGETING_TYPE_PARENTAL_STATUS * TARGETING_TYPE_CONTENT_INSTREAM_POSITION * TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION * TARGETING_TYPE_DEVICE_TYPE * TARGETING_TYPE_BROWSER * TARGETING_TYPE_HOUSEHOLD_INCOME * TARGETING_TYPE_ON_SCREEN_POSITION * TARGETING_TYPE_CARRIER_AND_ISP * TARGETING_TYPE_OPERATING_SYSTEM * TARGETING_TYPE_DEVICE_MAKE_MODEL * TARGETING_TYPE_ENVIRONMENT * TARGETING_TYPE_CATEGORY * TARGETING_TYPE_VIEWABILITY * TARGETING_TYPE_AUTHORIZED_SELLER_STATUS * TARGETING_TYPE_LANGUAGE * TARGETING_TYPE_GEO_REGION * TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION * TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION * TARGETING_TYPE_EXCHANGE * TARGETING_TYPE_SUB_EXCHANGE * TARGETING_TYPE_NATIVE_CONTENT_POSITION * TARGETING_TYPE_OMID

Returns
Type Description
TargetingTypesResource.TargetingOptionsResource.ListRequest

Search(SearchTargetingOptionsRequest, TargetingTypeEnum)

Searches for targeting options of a given type based on the given search terms.

Declaration
public virtual TargetingTypesResource.TargetingOptionsResource.SearchRequest Search(SearchTargetingOptionsRequest body, TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum targetingType)
Parameters
Type Name Description
SearchTargetingOptionsRequest body

The body of the request.

TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum targetingType

Required. The type of targeting options to retrieve. Accepted values are: * TARGETING_TYPE_GEO_REGION

  • TARGETING_TYPE_POI * TARGETING_TYPE_BUSINESS_CHAIN
Returns
Type Description
TargetingTypesResource.TargetingOptionsResource.SearchRequest
In this article
Back to top Generated by DocFX