Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202208.AudienceSegmentService Class Reference

Provides operations for creating, updating and retrieving AudienceSegment objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.AudienceSegmentService:
Google.Api.Ads.AdManager.v202208.IAudienceSegmentService Google.Api.Ads.AdManager.v202208.AudienceSegmentServiceInterface

Public Member Functions

 AudienceSegmentService ()
 Creates a new instance of the AudienceSegmentService class. More...
 
 AudienceSegmentService (string endpointConfigurationName)
 Creates a new instance of the AudienceSegmentService class. More...
 
 AudienceSegmentService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the AudienceSegmentService class. More...
 
 AudienceSegmentService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AudienceSegmentService class. More...
 
 AudienceSegmentService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the AudienceSegmentService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] 
createAudienceSegments (Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] segments)
 Creates new FirstPartyAudienceSegment objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]> 
createAudienceSegmentsAsync (Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] segments)
 
virtual
Google.Api.Ads.AdManager.v202208.AudienceSegmentPage 
getAudienceSegmentsByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets an AudienceSegmentPage of AudienceSegment objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.AudienceSegmentPage
getAudienceSegmentsByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.UpdateResult 
performAudienceSegmentAction (Google.Api.Ads.AdManager.v202208.AudienceSegmentAction action, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Performs the given AudienceSegmentAction on the set of segments identified by the given statement. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.UpdateResult
performAudienceSegmentActionAsync (Google.Api.Ads.AdManager.v202208.AudienceSegmentAction action, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] 
updateAudienceSegments (Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] segments)
 Updates the given FirstPartyAudienceSegment objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]> 
updateAudienceSegmentsAsync (Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[] segments)
 

Detailed Description

Provides operations for creating, updating and retrieving AudienceSegment objects.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202208.AudienceSegmentService.AudienceSegmentService ( )
inline

Creates a new instance of the AudienceSegmentService class.

Google.Api.Ads.AdManager.v202208.AudienceSegmentService.AudienceSegmentService ( string  endpointConfigurationName)
inline

Creates a new instance of the AudienceSegmentService class.

Google.Api.Ads.AdManager.v202208.AudienceSegmentService.AudienceSegmentService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the AudienceSegmentService class.

Google.Api.Ads.AdManager.v202208.AudienceSegmentService.AudienceSegmentService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the AudienceSegmentService class.

Google.Api.Ads.AdManager.v202208.AudienceSegmentService.AudienceSegmentService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the AudienceSegmentService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment [] Google.Api.Ads.AdManager.v202208.AudienceSegmentService.createAudienceSegments ( Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]  segments)
inlinevirtual

Creates new FirstPartyAudienceSegment objects.

Parameters
segmentsfirst-party audience segments to create
Returns
created first-party audience segments

Implements Google.Api.Ads.AdManager.v202208.IAudienceSegmentService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]> Google.Api.Ads.AdManager.v202208.AudienceSegmentService.createAudienceSegmentsAsync ( Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]  segments)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.AudienceSegmentPage Google.Api.Ads.AdManager.v202208.AudienceSegmentService.getAudienceSegmentsByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

Gets an AudienceSegmentPage of AudienceSegment objects that satisfy the given Statement::query. The following fields are supported for filtering:

PQL Property Object Property
id AudienceSegment::id
name AudienceSegment::name
status AudienceSegment::status
type AudienceSegment::type
size AudienceSegment::size
dataProviderName AudienceSegmentDataProvider::name
segmentType AudienceSegment::type
approvalStatus ThirdPartyAudienceSegment::approvalStatus
cost ThirdPartyAudienceSegment::cost
startDateTime ThirdPartyAudienceSegment::startDateTime
endDateTime ThirdPartyAudienceSegment::endDateTime
Parameters
filterStatementa Publisher Query Language statement used to filter a set of audience segments (the only supported operator is AND)
Returns
the audience segments that match the given filter

Implements Google.Api.Ads.AdManager.v202208.AudienceSegmentServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.AudienceSegmentPage> Google.Api.Ads.AdManager.v202208.AudienceSegmentService.getAudienceSegmentsByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.UpdateResult Google.Api.Ads.AdManager.v202208.AudienceSegmentService.performAudienceSegmentAction ( Google.Api.Ads.AdManager.v202208.AudienceSegmentAction  action,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual

Performs the given AudienceSegmentAction on the set of segments identified by the given statement.

Parameters
actionAudienceSegmentAction to perform
filterStatementa Publisher Query Language statement used to filter a set of audience segments (the only supported operator is AND)
Returns
UpdateResult indicating the result

Implements Google.Api.Ads.AdManager.v202208.AudienceSegmentServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.UpdateResult> Google.Api.Ads.AdManager.v202208.AudienceSegmentService.performAudienceSegmentActionAsync ( Google.Api.Ads.AdManager.v202208.AudienceSegmentAction  action,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment [] Google.Api.Ads.AdManager.v202208.AudienceSegmentService.updateAudienceSegments ( Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]  segments)
inlinevirtual

Updates the given FirstPartyAudienceSegment objects.

Parameters
segmentsfirst-party audience segments to update
Returns
updated first-party audience segments

Implements Google.Api.Ads.AdManager.v202208.IAudienceSegmentService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]> Google.Api.Ads.AdManager.v202208.AudienceSegmentService.updateAudienceSegmentsAsync ( Google.Api.Ads.AdManager.v202208.FirstPartyAudienceSegment[]  segments)
inlinevirtual

The documentation for this class was generated from the following file: