Class AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource
The "assignedTargetingOptions" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource
Constructors
AssignedTargetingOptionsResource(IClientService)
Constructs a new resource.
Declaration
public AssignedTargetingOptionsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(AssignedTargetingOption, long, TargetingTypeEnum)
Assigns a targeting option to an advertiser. Returns the assigned targeting option if successful.
Declaration
public virtual AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest Create(AssignedTargetingOption body, long advertiserId, AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest.TargetingTypeEnum targetingType)
Parameters
Type | Name | Description |
---|---|---|
AssignedTargetingOption | body | The body of the request. |
long | advertiserId | Required. The ID of the advertiser. |
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types: *
|
Returns
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.CreateRequest |
Delete(long, TargetingTypeEnum, string)
Deletes an assigned targeting option from an advertiser.
Declaration
public virtual AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest Delete(long advertiserId, AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser. |
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of this assigned targeting option. Supported targeting types: *
|
string | assignedTargetingOptionId | Required. The ID of the assigned targeting option to delete. |
Returns
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.DeleteRequest |
Get(long, TargetingTypeEnum, string)
Gets a single targeting option assigned to an advertiser.
Declaration
public virtual AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest Get(long advertiserId, AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest.TargetingTypeEnum targetingType, string assignedTargetingOptionId)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser. |
AdvertisersResource.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 advertiser that identifies the assigned targeting option being requested. |
Returns
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.GetRequest |
List(long, TargetingTypeEnum)
Lists the targeting options assigned to an advertiser.
Declaration
public virtual AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest List(long advertiserId, AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum targetingType)
Parameters
Type | Name | Description |
---|---|---|
long | advertiserId | Required. The ID of the advertiser. |
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest.TargetingTypeEnum | targetingType | Required. Identifies the type of assigned targeting options to list. Supported targeting types: *
|
Returns
Type | Description |
---|---|
AdvertisersResource.TargetingTypesResource.AssignedTargetingOptionsResource.ListRequest |