Class TargetingTypesResource.TargetingOptionsResource
The "targetingOptions" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.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: *
|
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: *
|
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: *
|
Returns
Type | Description |
---|---|
TargetingTypesResource.TargetingOptionsResource.SearchRequest |