Class AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Gets a single targeting option assigned to a campaign.
Inheritance
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest : DisplayVideoBaseServiceRequest<AssignedTargetingOption>, IClientServiceRequest<AssignedTargetingOption>, IClientServiceRequest
Constructors
GetRequest(IClientService, long, long, TargetingTypeEnum, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, long advertiserId, long campaignId, AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | advertiserId | |
long | campaignId | |
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | |
string | assignedTargetingOptionId |
Properties
AdvertiserId
Required. The ID of the advertiser the campaign belongs to.
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 campaign that identifies the assigned targeting option being requested.
Declaration
[RequestParameter("assignedTargetingOptionId", RequestParameterType.Path)]
public virtual string AssignedTargetingOptionId { get; }
Property Value
Type | Description |
---|---|
string |
CampaignId
Required. The ID of the campaign the assigned targeting option belongs to.
Declaration
[RequestParameter("campaignId", RequestParameterType.Path)]
public virtual long CampaignId { get; }
Property Value
Type | Description |
---|---|
long |
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_AGE_RANGE
*TARGETING_TYPE_AUTHORIZED_SELLER_STATUS
*TARGETING_TYPE_CONTENT_INSTREAM_POSITION
*TARGETING_TYPE_CONTENT_OUTSTREAM_POSITION
*TARGETING_TYPE_DIGITAL_CONTENT_LABEL_EXCLUSION
*TARGETING_TYPE_ENVIRONMENT
*TARGETING_TYPE_EXCHANGE
*TARGETING_TYPE_GENDER
*TARGETING_TYPE_GEO_REGION
*TARGETING_TYPE_HOUSEHOLD_INCOME
*TARGETING_TYPE_INVENTORY_SOURCE
*TARGETING_TYPE_INVENTORY_SOURCE_GROUP
*TARGETING_TYPE_LANGUAGE
*TARGETING_TYPE_ON_SCREEN_POSITION
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_SENSITIVE_CATEGORY_EXCLUSION
*TARGETING_TYPE_SUB_EXCHANGE
*TARGETING_TYPE_THIRD_PARTY_VERIFIER
*TARGETING_TYPE_VIEWABILITY
Declaration
[RequestParameter("targetingType", RequestParameterType.Path)]
public virtual AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum TargetingType { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()