Class TargetingTypesResource.TargetingOptionsResource
The "targetingOptions" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo .v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class TargetingTypesResource.TargetingOptionsResource
Constructors
TargetingOptionsResource(IClientService)
Constructs a new resource.
Declaration
public TargetingOptionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClient |
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 |
---|---|---|
Targeting |
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 |
---|---|
Targeting |
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 |
---|---|---|
Targeting |
targetingType | Required. The type of targeting option to be listed. Accepted values are: *
|
Returns
Type | Description |
---|---|
Targeting |
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 |
---|---|---|
Search |
body | The body of the request. |
Targeting |
targetingType | Required. The type of targeting options to retrieve. Accepted values are: *
|
Returns
Type | Description |
---|---|
Targeting |