Class AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Gets a single targeting option assigned to an advertiser.
Inheritance
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest : DisplayVideoBaseServiceRequest<AssignedTargetingOption>, IClientServiceRequest<AssignedTargetingOption>, IClientServiceRequest
Constructors
GetRequest(IClientService, long, TargetingTypeEnum, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, long advertiserId, AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | advertiserId | |
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | |
string | assignedTargetingOptionId |
Properties
AdvertiserId
Required. The ID of the advertiser.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Path)]
public virtual long AdvertiserId { get; }
Property Value
Type | Description |
---|---|
long |
AssignedTargetingOptionId
Required. An identifier unique to the targeting type in this advertiser that identifies the assigned targeting option being requested.
Declaration
[RequestParameter("assignedTargetingOptionId", RequestParameterType.Path)]
public virtual string AssignedTargetingOptionId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
TargetingType
Required. Identifies the type of this assigned targeting option. Supported targeting types: *
TARGETING_TYPE_CHANNEL
* TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*
TARGETING_TYPE_OMID
* TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*
TARGETING_TYPE_YOUTUBE_VIDEO
* TARGETING_TYPE_YOUTUBE_CHANNEL
* TARGETING_TYPE_KEYWORD
Declaration
[RequestParameter("targetingType", RequestParameterType.Path)]
public virtual AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum TargetingType { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()