- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CustomerLifecycleGoalOperation
- ConfigureCustomerLifecycleGoalsResult
- Try it!
Process the given customer lifecycle configurations.
List of thrown errors: AuthenticationError AuthorizationError CustomerLifecycleGoalConfigError HeaderError InternalError QuotaError RequestError
HTTP request
POST https://googleads.googleapis.com/v15/customers/{customerId}/customerLifecycleGoal:configureCustomerLifecycleGoals
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
customerId |
Required. The ID of the customer performing the upload. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"operation": {
object ( |
Fields | |
---|---|
operation |
Required. The operation to perform customer lifecycle goal update. |
validateOnly |
Optional. If true, the request is validated but not executed. Only errors are returned, not results. |
Response body
Response message for [CustomerLifecycleGoalService.configureCustomerLifecycleGoals][].
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"result": {
object ( |
Fields | |
---|---|
result |
result for the customer lifecycle goal configuration. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/adwords
For more information, see the OAuth 2.0 Overview.
CustomerLifecycleGoalOperation
A single operation on a customer lifecycle goal.
JSON representation |
---|
{ "updateMask": string, // Union field |
Fields | |
---|---|
updateMask |
Optional. FieldMask that determines which resource fields are modified in an update. This is a comma-separated list of fully qualified names of fields. Example: |
Union field operation . The mutate operation. operation can be only one of the following: |
|
create |
Create operation: to create a new customer lifecycle goal or update an existing customer lifecycle goal. When creating a new customer lifecycle goal, all required fields needs to be set. Resource name and field mask needs to be empty. When updating an existing customer lifecycle goal, resource name and field mask need to be set. Partial update based on field mask is supported when updating an existing customer lifecycle goal. |
ConfigureCustomerLifecycleGoalsResult
The result for the customer lifecycle goal configuration.
JSON representation |
---|
{ "resourceName": string } |
Fields | |
---|---|
resourceName |
Returned for the successful operation. |