Class AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource
The "assignedTargetingOptions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource
Constructors
AssignedTargetingOptionsResource(IClientService)
Constructs a new resource.
Declaration
public AssignedTargetingOptionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Get(long, long, TargetingTypeEnum, string)
Gets a single targeting option assigned to a YouTube ad group. Inherited assigned targeting options are not included.
Declaration
public virtual AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest Get(long advertiserId, long youtubeAdGroupId, AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser the ad group belongs to. |
long | youtubeAdGroupId | Required. The ID of the ad group the assigned targeting option belongs to. |
AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types
include: *
|
string | assignedTargetingOptionId | Required. An identifier unique to the targeting type in this line item that identifies the assigned targeting option being requested. |
Returns
Type | Description |
---|---|
AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest |
List(long, long, TargetingTypeEnum)
Lists the targeting options assigned to a YouTube ad group. Inherited assigned targeting options are not included.
Declaration
public virtual AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest List(long advertiserId, long youtubeAdGroupId, AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser the ad group belongs to. |
long | youtubeAdGroupId | Required. The ID of the ad group to list assigned targeting options for. |
AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of assigned targeting options to list. Supported targeting types
include: *
|
Returns
Type | Description |
---|---|
AdvertisersResource.YoutubeAdGroupsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest |