Class AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Gets a single targeting option assigned to an ad group. Inherited assigned targeting options are not included.
Inheritance
AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.AdGroupsResource.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 adGroupId, AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
long | advertiserId | |
long | adGroupId | |
AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | |
string | assignedTargetingOptionId |
Properties
AdGroupId
Required. The ID of the ad group the assigned targeting option belongs to.
Declaration
[RequestParameter("adGroupId", RequestParameterType.Path)]
public virtual long AdGroupId { get; }
Property Value
Type | Description |
---|---|
long |
AdvertiserId
Required. The ID of the advertiser the ad group 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 line item 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
include: * TARGETING_TYPE_AGE_RANGE
* TARGETING_TYPE_APP
* TARGETING_TYPE_APP_CATEGORY
TARGETING_TYPE_AUDIENCE_GROUP
*TARGETING_TYPE_CATEGORY
*TARGETING_TYPE_GENDER
*TARGETING_TYPE_HOUSEHOLD_INCOME
*TARGETING_TYPE_KEYWORD
*TARGETING_TYPE_PARENTAL_STATUS
*TARGETING_TYPE_SESSION_POSITION
*TARGETING_TYPE_URL
TARGETING_TYPE_YOUTUBE_CHANNEL
*TARGETING_TYPE_YOUTUBE_VIDEO
Declaration
[RequestParameter("targetingType", RequestParameterType.Path)]
public virtual AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum TargetingType { get; }
Property Value
Type | Description |
---|---|
AdvertisersResource.AdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()