AI-generated Key Takeaways
- 
          The ContentBundleService provides methods for creating, updating, and retrieving ContentBundle objects. 
- 
          A ContentBundle groups Content based on filter rules, explicitly included, and excluded Content. 
- 
          Operations include creating, getting by statement, performing actions, and updating ContentBundles. 
- 
          Various errors can occur, such as authentication failures, invalid inputs, and permission issues. 
Provides methods for creating, updating and retrieving ContentBundle objects.
A ContentBundle is a grouping
of Content
that match filter rules as well as taking into account explicitly
included or excluded Content.
- Production WSDL
- 
               https://ads.google.com/apis/ads/publisher/v202505/ContentBundleService?wsdl
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202505
- Operations
- Errors
- 
               - ApiVersionError
- AuthenticationError
- CollectionSizeError
- CommonError
- ContentFilterError
- FeatureError
- InternalApiError
- NotNullError
- ParseError
- PermissionError
- PlacementError
- PublisherQueryLanguageContextError
- PublisherQueryLanguageSyntaxError
- QuotaError
- RequestError
- RequiredCollectionError
- RequiredError
- ServerError
- StatementError
- StringFormatError
- StringLengthError
- UniqueError
 
createContentBundles
Creates new ContentBundle objects.
Parameters
| Field | Type | Description | 
|---|---|---|
| contentBundles | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
getContentBundlesByStatement
Gets a ContentBundlePage of ContentBundle objects that satisfy the given Statement.query. The following fields are supported for filtering:
| PQL Property | Object Property | 
|---|---|
| id | ContentBundle.id | 
| name | ContentBundle.name | 
| status | ContentBundle.status | 
Parameters
| Field | Type | Description | 
|---|---|---|
| filterStatement | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
performContentBundleAction
Performs actions on ContentBundle objects that match the given Statement.query.
Parameters
| Field | Type | Description | 
|---|---|---|
| contentBundleAction | 
                              
                            | |
| filterStatement | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
updateContentBundles
Updates the specified ContentBundle objects.
Parameters
| Field | Type | Description | 
|---|---|---|
| contentBundles | 
                               | 
Response
| Field | Type | Description | 
|---|---|---|
| rval | 
                               | 
Errors
| Error | Reasons | 
|---|---|
| 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 
 | 
| ContentFilterError | Errors associated with the incorrect creation of a Condition.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 
 | 
| PlacementError | Class defining all validation errors for a placement. 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 
 | 
| RequestError | Encapsulates the generic errors thrown when there's an error with user
            request. 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 
 | 
| StringFormatError | A list of error code for reporting invalid content of input strings. 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 |