AI-generated Key Takeaways
-
The
conversions.batchupdatemethod is used to update existing conversions. -
The HTTP request method is
POSTand the URL includes a userprofileId. -
The request body contains a
ConversionsBatchUpdateRequestwhich includes the conversions to update and optional encryption information. -
The response body provides the status of each conversion update, indicating if any failures occurred.
-
Authorization requires the
https://www.googleapis.com/auth/ddmconversionsOAuth scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ConversionsBatchUpdateRequest
- Try it!
Updates existing conversions.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/conversions/batchupdate
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
profileId |
User profile ID associated with this request. |
Request body
The request body contains an instance of ConversionsBatchUpdateRequest.
Response body
Update Conversions Response.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"hasFailures": boolean,
"status": [
{
object ( |
| Fields | |
|---|---|
hasFailures |
Indicates that some or all conversions failed to update. |
status[] |
The update status of each conversion. Statuses are returned in the same order that conversions are updated. |
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/ddmconversions
ConversionsBatchUpdateRequest
Update Conversions Request.
| JSON representation |
|---|
{ "kind": string, "conversions": [ { object ( |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string
. |
conversions[] |
The set of conversions to update. |
encryptionInfo |
Describes how
is encrypted. This is a required field if
is used. |