Class AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource
The "assignedTargetingOptions" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.CampaignsResource.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 campaign.
Declaration
public virtual AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest Get(long advertiserId, long campaignId, AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser the campaign belongs to. |
long | campaignId | Required. The ID of the campaign the assigned targeting option belongs to. |
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types: *
|
string | assignedTargetingOptionId | Required. An identifier unique to the targeting type in this campaign that identifies the assigned targeting option being requested. |
Returns
Type | Description |
---|---|
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest |
List(long, long, TargetingTypeEnum)
Lists the targeting options assigned to a campaign for a specified targeting type.
Declaration
public virtual AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest List(long advertiserId, long campaignId, AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser the campaign belongs to. |
long | campaignId | Required. The ID of the campaign to list assigned targeting options for. |
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of assigned targeting options to list. Supported targeting types:
|
Returns
Type | Description |
---|---|
AdvertisersResource.CampaignsResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest |