Class PartnersResource
The "partners" collection of methods.
Inherited Members
Namespace: Google.Apis.DisplayVideo.v2
Assembly: Google.Apis.DisplayVideo.v2.dll
Syntax
public class PartnersResource
Constructors
PartnersResource(IClientService)
Constructs a new resource.
Declaration
public PartnersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Channels
Gets the Channels resource.
Declaration
public virtual PartnersResource.ChannelsResource Channels { get; }
Property Value
Type | Description |
---|---|
PartnersResource.ChannelsResource |
TargetingTypes
Gets the TargetingTypes resource.
Declaration
public virtual PartnersResource.TargetingTypesResource TargetingTypes { get; }
Property Value
Type | Description |
---|---|
PartnersResource.TargetingTypesResource |
Methods
EditAssignedTargetingOptions(BulkEditPartnerAssignedTargetingOptionsRequest, long)
Edits targeting options under a single partner. The operation will delete the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.deleteRequests and then create the assigned targeting options provided in BulkEditPartnerAssignedTargetingOptionsRequest.createRequests .
Declaration
public virtual PartnersResource.EditAssignedTargetingOptionsRequest EditAssignedTargetingOptions(BulkEditPartnerAssignedTargetingOptionsRequest body, long partnerId)
Parameters
Type | Name | Description |
---|---|---|
BulkEditPartnerAssignedTargetingOptionsRequest | body | The body of the request. |
long | partnerId | Required. The ID of the partner. |
Returns
Type | Description |
---|---|
PartnersResource.EditAssignedTargetingOptionsRequest |
Get(long)
Gets a partner.
Declaration
public virtual PartnersResource.GetRequest Get(long partnerId)
Parameters
Type | Name | Description |
---|---|---|
long | partnerId | Required. The ID of the partner to fetch. |
Returns
Type | Description |
---|---|
PartnersResource.GetRequest |
List()
Lists partners that are accessible to the current user. The order is defined by the order_by parameter.
Declaration
public virtual PartnersResource.ListRequest List()
Returns
Type | Description |
---|---|
PartnersResource.ListRequest |