Class TargetingTypesResource.TargetingOptionsResource.SearchRequest
Searches for targeting options of a given type based on the given search terms.
Inheritance
TargetingTypesResource.TargetingOptionsResource.SearchRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class TargetingTypesResource.TargetingOptionsResource.SearchRequest : DisplayVideoBaseServiceRequest<SearchTargetingOptionsResponse>, IClientServiceRequest<SearchTargetingOptionsResponse>, IClientServiceRequest
Constructors
SearchRequest(IClientService, SearchTargetingOptionsRequest, TargetingTypeEnum)
Constructs a new Search request.
Declaration
public SearchRequest(IClientService service, SearchTargetingOptionsRequest body, TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum targetingType)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
SearchTargetingOptionsRequest | body | |
TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum | targetingType |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsResponse>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsResponse>.RestPath
TargetingType
Required. The type of targeting options to retrieve. Accepted values are: *
TARGETING_TYPE_GEO_REGION
* TARGETING_TYPE_POI
* TARGETING_TYPE_BUSINESS_CHAIN
Declaration
[RequestParameter("targetingType", RequestParameterType.Path)]
public virtual TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum TargetingType { get; }
Property Value
Type | Description |
---|---|
TargetingTypesResource.TargetingOptionsResource.SearchRequest.TargetingTypeEnum |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.SearchTargetingOptionsResponse>.GetBody()
InitParameters()
Initializes Search parameter list.
Declaration
protected override void InitParameters()