Class AccountsResource.CreativesResource.WatchRequest
Watches a creative. Will result in push notifications being sent to the topic when the creative changes status.
Inheritance
AccountsResource.CreativesResource.WatchRequest
Inherited Members
Namespace: Google.Apis.AdExchangeBuyerII.v2beta1
Assembly: Google.Apis.AdExchangeBuyerII.v2beta1.dll
Syntax
public class AccountsResource.CreativesResource.WatchRequest : AdExchangeBuyerIIBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
WatchRequest(IClientService, WatchCreativeRequest, string, string)
Constructs a new Watch request.
Declaration
public WatchRequest(IClientService service, WatchCreativeRequest body, string accountId, string creativeId)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
WatchCreativeRequest | body | |
string | accountId | |
string | creativeId |
Properties
AccountId
The account of the creative to watch.
Declaration
[RequestParameter("accountId", RequestParameterType.Path)]
public virtual string AccountId { get; }
Property Value
Type | Description |
---|---|
string |
CreativeId
The creative ID to watch for status changes. Specify "-" to watch all creatives under the above account. If both creative-level and account-level notifications are sent, only a single notification will be sent to the creative-level notification topic.
Declaration
[RequestParameter("creativeId", RequestParameterType.Path)]
public virtual string CreativeId { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Watch parameter list.
Declaration
protected override void InitParameters()