Close httplib2 connections.
configureCustomerLifecycleGoals(customerId, body=None, x__xgafv=None)
Process the given customer lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
close()
Close httplib2 connections.
configureCustomerLifecycleGoals(customerId, body=None, x__xgafv=None)
Process the given customer lifecycle configurations. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [CustomerLifecycleGoalConfigError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()
Args:
customerId: string, Required. The ID of the customer performing the upload. (required)
body: object, The request body.
The object takes the form of:
{ # Request message for CustomerLifecycleGoalService.ConfigureCustomerLifecycleGoals.
"operation": { # A single operation on a customer lifecycle goal. # Required. The operation to perform customer lifecycle goal update.
"create": { # Account level customer lifecycle goal settings.
"customerAcquisitionGoalValueSettings": { # Lifecycle goal value settings. # Output only. Customer acquisition goal customer level value settings.
"highLifetimeValue": 3.14, # High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high lifetime value is the incremental conversion value for new customers who are of high value. High lifetime value should be greater than value, if set.
"value": 3.14, # Value of the lifecycle goal. For example, for customer acquisition goal, value is the incremental conversion value for new customers who are not of high value.
},
"ownerCustomer": "A String", # Output only. The resource name of the customer which owns the lifecycle goal.
"resourceName": "A String", # Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`
},
"update": { # Account level customer lifecycle goal settings. # Update operation: Update an existing customer lifecycle goal.
"customerAcquisitionGoalValueSettings": { # Lifecycle goal value settings. # Output only. Customer acquisition goal customer level value settings.
"highLifetimeValue": 3.14, # High lifetime value of the lifecycle goal. For example, for customer acquisition goal, high lifetime value is the incremental conversion value for new customers who are of high value. High lifetime value should be greater than value, if set.
"value": 3.14, # Value of the lifecycle goal. For example, for customer acquisition goal, value is the incremental conversion value for new customers who are not of high value.
},
"ownerCustomer": "A String", # Output only. The resource name of the customer which owns the lifecycle goal.
"resourceName": "A String", # Immutable. The resource name of the customer lifecycle goal. Customer lifecycle resource names have the form: `customers/{customer_id}/customerLifecycleGoal`
},
"updateMask": "A String", # Optional. FieldMask that determines which resource fields are modified in an update.
},
"validateOnly": True or False, # Optional. If true, the request is validated but not executed. Only errors are returned, not results.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Response message for CustomerLifecycleGoalService.ConfigureCustomerLifecycleGoals.
"result": { # The result for the customer lifecycle goal configuration. # result for the customer lifecycle goal configuration.
"resourceName": "A String", # Returned for the successful operation.
},
}