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