Class ListAdBreaksResponse
Response object for ListAdBreaksRequest containing matching AdBreak
objects.
Implements
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ListAdBreaksResponse : IMessage<ListAdBreaksResponse>, IEquatable<ListAdBreaksResponse>, IDeepCloneable<ListAdBreaksResponse>, IBufferMessage, IMessage, IPageResponse<AdBreak>, IEnumerable<AdBreak>, IEnumerable
Constructors
ListAdBreaksResponse()
Declaration
public ListAdBreaksResponse()
ListAdBreaksResponse(ListAdBreaksResponse)
Declaration
public ListAdBreaksResponse(ListAdBreaksResponse other)
Parameters
| Type | Name | Description |
|---|---|---|
| ListAdBreaksResponse | other |
Properties
AdBreaks
The AdBreak objects from the specified network.
Declaration
public RepeatedField<AdBreak> AdBreaks { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<AdBreak> |
NextPageToken
A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages. This field expires
after five minutes.
Declaration
public string NextPageToken { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Implements
TotalSize
Total number of AdBreak objects.
If a filter was included in the request, this reflects the total number
after the filtering is applied.
total_size won't be calculated in the response unless it has been
included in a response field mask. The response field mask can be provided
to the method by using the URL parameter $fields or fields, or by using
the HTTP/gRPC header X-Goog-FieldMask.
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks
Declaration
public int TotalSize { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Declaration
public IEnumerator<AdBreak> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<AdBreak> |