Provides methods for creating, updating and retrieving ActivityGroup objects.
An activity group contains Activity objects. Activities have a one-to-one relationship with activity groups. Each activity can belong to only one activity group. Activity groups, however, have a one-to-many relationship with activities, meaning each activity group can have multiple activities. A activity group can be used to manage the activities it contains.
- Production WSDL
-
https://ads.google.com/apis/ads/publisher/v201611/ActivityGroupService?wsdl - Namespace
-
https://www.google.com/apis/ads/publisher/v201611 - Operations
- Errors
-
- ActivityError
- ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- FeatureError
- InternalApiError
- NotNullError
- ParseError
- PermissionError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RangeError
- RequiredCollectionError
- RequiredError
- ServerError
- StatementError
- StringLengthError
- UniqueError
createActivityGroups
Creates a new ActivityGroup objects.
Parameters
| Field | Type | Description |
|---|---|---|
activityGroups
|
|
the activity groups to be created. |
Response
| Field | Type | Description |
|---|---|---|
rval
|
|
the created activity groups with their IDs filled in. |
getActivityGroupsByStatement
Gets an ActivityGroupPage of ActivityGroup objects that satisfy the given Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property |
|---|---|
id
|
ActivityGroup.id |
name
|
ActivityGroup.name |
impressionsLookback
|
ActivityGroup.impressionsLookback |
clicksLookback
|
ActivityGroup.clicksLookback |
status
|
ActivityGroup.status |
Parameters
| Field | Type | Description |
|---|---|---|
filterStatement
|
|
a statement used to filter a set of activity groups |
Response
| Field | Type | Description |
|---|---|---|
rval
|
|
the activity groups that match the given filter |
updateActivityGroups
Updates the specified ActivityGroup objects.
Parameters
| Field | Type | Description |
|---|---|---|
activityGroups
|
|
the activity groups to update. |
Response
| Field | Type | Description |
|---|---|---|
rval
|
|
the updated activity groups. |
Errors
| Error | Reasons |
|---|---|
ActivityError
|
Errors relating to Activity and Activity Group services.
Enumerations
|
ApiVersionError
|
Errors related to the usage of API versions.
Enumerations
|
AuthenticationError
|
An error for an exception that occurred when authenticating.
Enumerations
|
CollectionSizeError
|
Error for the size of the collection being too large
Enumerations
|
CommonError
|
A place for common errors that can be used across services.
Enumerations
|
FeatureError
|
Errors related to feature management. If you attempt using a feature that is not available to
the current network you'll receive a FeatureError with the missing feature as the trigger.
Enumerations
|
InternalApiError
|
Indicates that a server-side error has occured. InternalApiErrors
are generally not the result of an invalid request or message sent by the
client.
Enumerations
|
NotNullError
|
Caused by supplying a null value for an attribute that cannot be null.
Enumerations
|
ParseError
|
Lists errors related to parsing.
Enumerations
|
PermissionError
|
Errors related to incorrect permission.
Enumerations
|
PublisherQueryLanguageContextError
|
An error that occurs while executing a PQL query contained in
a Statement object.
Enumerations
|
PublisherQueryLanguageSyntaxError
|
An error that occurs while parsing a PQL query contained in a
Statement object.
Enumerations
|
QuotaError
|
Describes a client-side error on which a user is attempting
to perform an action to which they have no quota remaining.
Enumerations
|
RangeError
|
A list of all errors associated with the Range constraint.
Enumerations
|
RequiredCollectionError
|
A list of all errors to be used for validating sizes of collections.
Enumerations
|
RequiredError
|
Errors due to missing required field.
Enumerations
|
ServerError
|
Errors related to the server.
Enumerations
|
StatementError
|
An error that occurs while parsing Statement objects.
Enumerations
|
StringLengthError
|
Errors for Strings which do not meet given length constraints.
Enumerations
|
UniqueError
|
An error for a field which must satisfy a uniqueness constraint |
