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

Provides methods for creating, updating and retrieving Activity objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202111.ActivityService:
Google.Api.Ads.AdManager.v202111.IActivityService Google.Api.Ads.AdManager.v202111.ActivityServiceInterface

Public Member Functions

 ActivityService ()
 Creates a new instance of the ActivityService class. More...
 
 ActivityService (string endpointConfigurationName)
 Creates a new instance of the ActivityService class. More...
 
 ActivityService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the ActivityService class. More...
 
 ActivityService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ActivityService class. More...
 
 ActivityService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ActivityService class. More...
 
virtual
Google.Api.Ads.AdManager.v202111.Activity[] 
createActivities (Google.Api.Ads.AdManager.v202111.Activity[] activities)
 Creates a new Activity objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Activity[]> 
createActivitiesAsync (Google.Api.Ads.AdManager.v202111.Activity[] activities)
 
virtual
Google.Api.Ads.AdManager.v202111.ActivityPage 
getActivitiesByStatement (Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 Gets an ActivityPage of Activity objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.ActivityPage
getActivitiesByStatementAsync (Google.Api.Ads.AdManager.v202111.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202111.Activity[] 
updateActivities (Google.Api.Ads.AdManager.v202111.Activity[] activities)
 Updates the specified Activity objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202111.Activity[]> 
updateActivitiesAsync (Google.Api.Ads.AdManager.v202111.Activity[] activities)
 

Detailed Description

Provides methods for creating, updating and retrieving Activity objects.

An activity group contains Activity objects. Activities have a many-to-one relationship with activity groups, meaning each activity can belong to only one activity group, but activity groups can have multiple activities. An activity group can be used to manage the activities it contains.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202111.ActivityService.ActivityService ( )
inline

Creates a new instance of the ActivityService class.

Google.Api.Ads.AdManager.v202111.ActivityService.ActivityService ( string  endpointConfigurationName)
inline

Creates a new instance of the ActivityService class.

Google.Api.Ads.AdManager.v202111.ActivityService.ActivityService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the ActivityService class.

Google.Api.Ads.AdManager.v202111.ActivityService.ActivityService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the ActivityService class.

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

Creates a new instance of the ActivityService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202111.Activity [] Google.Api.Ads.AdManager.v202111.ActivityService.createActivities ( Google.Api.Ads.AdManager.v202111.Activity[]  activities)
inlinevirtual

Creates a new Activity objects.

Parameters
activitiesto be created.
Returns
the created activities with its IDs filled in.

Implements Google.Api.Ads.AdManager.v202111.IActivityService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Activity[]> Google.Api.Ads.AdManager.v202111.ActivityService.createActivitiesAsync ( Google.Api.Ads.AdManager.v202111.Activity[]  activities)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.ActivityPage Google.Api.Ads.AdManager.v202111.ActivityService.getActivitiesByStatement ( Google.Api.Ads.AdManager.v202111.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
id Activity::id
name Activity::name
expectedURL Activity::expectedURL
status Activity::status
activityGroupId Activity::activityGroupId
Parameters
filterStatementa statement used to filter a set of activities.
Returns
the activities that match the given filter.

Implements Google.Api.Ads.AdManager.v202111.ActivityServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.ActivityPage> Google.Api.Ads.AdManager.v202111.ActivityService.getActivitiesByStatementAsync ( Google.Api.Ads.AdManager.v202111.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202111.Activity [] Google.Api.Ads.AdManager.v202111.ActivityService.updateActivities ( Google.Api.Ads.AdManager.v202111.Activity[]  activities)
inlinevirtual

Updates the specified Activity objects.

Parameters
activitiesto be updated.
Returns
the updated activities.

Implements Google.Api.Ads.AdManager.v202111.IActivityService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202111.Activity[]> Google.Api.Ads.AdManager.v202111.ActivityService.updateActivitiesAsync ( Google.Api.Ads.AdManager.v202111.Activity[]  activities)
inlinevirtual

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