Show / Hide Table of Contents

Class ListTargetingPresetsResponse

Response object for ListTargetingPresetsRequest containing matching TargetingPreset objects.

Inheritance
object
ListTargetingPresetsResponse
Implements
IMessage<ListTargetingPresetsResponse>
IEquatable<ListTargetingPresetsResponse>
IDeepCloneable<ListTargetingPresetsResponse>
IBufferMessage
IMessage
IPageResponse<TargetingPreset>
IEnumerable<TargetingPreset>
IEnumerable
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ListTargetingPresetsResponse : IMessage<ListTargetingPresetsResponse>, IEquatable<ListTargetingPresetsResponse>, IDeepCloneable<ListTargetingPresetsResponse>, IBufferMessage, IMessage, IPageResponse<TargetingPreset>, IEnumerable<TargetingPreset>, IEnumerable

Constructors

ListTargetingPresetsResponse()

Declaration
public ListTargetingPresetsResponse()

ListTargetingPresetsResponse(ListTargetingPresetsResponse)

Declaration
public ListTargetingPresetsResponse(ListTargetingPresetsResponse other)
Parameters
Type Name Description
ListTargetingPresetsResponse other

Properties

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.

Declaration
public string NextPageToken { get; set; }
Property Value
Type Description
string
Implements
IPageResponse<TResource>.NextPageToken

TargetingPresets

The TargetingPreset objects from the specified network.

Declaration
public RepeatedField<TargetingPreset> TargetingPresets { get; }
Property Value
Type Description
RepeatedField<TargetingPreset>

TotalSize

Total number of TargetingPreset 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<TargetingPreset> GetEnumerator()
Returns
Type Description
IEnumerator<TargetingPreset>
Implements
IEnumerable<T>.GetEnumerator()
In this article
Back to top Generated by DocFX