Class InventorySourceGroupsResource.CreateRequest
Creates a new inventory source group. Returns the newly created inventory source group if successful.
Inheritance
InventorySourceGroupsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.DisplayVideo.v1
Assembly: Google.Apis.DisplayVideo.v1.dll
Syntax
public class InventorySourceGroupsResource.CreateRequest : DisplayVideoBaseServiceRequest<InventorySourceGroup>, IClientServiceRequest<InventorySourceGroup>, IClientServiceRequest
Constructors
CreateRequest(IClientService, InventorySourceGroup)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, InventorySourceGroup body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
InventorySourceGroup | body |
Properties
AdvertiserId
The ID of the advertiser that owns the inventory source group. The parent partner will not have access to this group.
Declaration
[RequestParameter("advertiserId", RequestParameterType.Query)]
public virtual long? AdvertiserId { get; set; }
Property Value
Type | Description |
---|---|
long? |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.MethodName
PartnerId
The ID of the partner that owns the inventory source group. Only this partner will have write access to this group. Only advertisers to which this group is explicitly shared will have read access to this group.
Declaration
[RequestParameter("partnerId", RequestParameterType.Query)]
public virtual long? PartnerId { get; set; }
Property Value
Type | Description |
---|---|
long? |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.DisplayVideo.v1.Data.InventorySourceGroup>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()