public interface ActivityServiceInterface
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.
| Modifier and Type | Method and Description |
|---|---|
List<Activity> |
createActivities(List<Activity> activities)
Creates a new
Activity objects. |
ActivityPage |
getActivitiesByStatement(Statement filterStatement)
|
List<Activity> |
updateActivities(List<Activity> activities)
Updates the specified
Activity objects. |
@RequestWrapper(localName="createActivities", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfacecreateActivities") @ResponseWrapper(localName="createActivitiesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfacecreateActivitiesResponse") List<Activity> createActivities(List<Activity> activities) throws ApiException_Exception
Activity objects.activities - to be created.activities - ApiException_Exception@RequestWrapper(localName="getActivitiesByStatement", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfacegetActivitiesByStatement") @ResponseWrapper(localName="getActivitiesByStatementResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfacegetActivitiesByStatementResponse") ActivityPage getActivitiesByStatement(Statement filterStatement) throws ApiException_Exception
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 |
filterStatement - a statement used to filter a set of activities.filterStatement - ApiException_Exception@RequestWrapper(localName="updateActivities", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfaceupdateActivities") @ResponseWrapper(localName="updateActivitiesResponse", targetNamespace="https://www.google.com/apis/ads/publisher/v201711", className="com.google.api.ads.dfp.jaxws.v201711.ActivityServiceInterfaceupdateActivitiesResponse") List<Activity> updateActivities(List<Activity> activities) throws ApiException_Exception
Activity objects.activities - to be updated.activities - ApiException_ExceptionCopyright © 2018. All Rights Reserved.