Method: conversions.batchupdate
Stay organized with collections
Save and categorize content based on your preferences.
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 |
string (int64 format)
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 (ConversionStatus )
}
],
"kind": string
} |
Fields |
hasFailures |
boolean
Indicates that some or all conversions failed to update.
|
status[] |
object (ConversionStatus )
The update status of each conversion. Statuses are returned in the same order that conversions are updated.
|
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#conversionsBatchUpdateResponse"
.
|
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/ddmconversions
ConversionsBatchUpdateRequest
Update Conversions Request.
JSON representation |
{
"kind": string,
"conversions": [
{
object (Conversion )
}
],
"encryptionInfo": {
object (EncryptionInfo )
}
} |
Fields |
kind |
string
Identifies what kind of resource this is. Value: the fixed string
"dfareporting#conversionsBatchUpdateRequest"
.
|
conversions[] |
object (Conversion )
The set of conversions to update.
|
encryptionInfo |
object (EncryptionInfo )
Describes how
encryptedUserId
is encrypted. This is a required field if
encryptedUserId
is used.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[null,null,["Last updated 2024-10-16 UTC."],[[["\u003cp\u003eUpdates existing conversions using the \u003ccode\u003econversions/batchupdate\u003c/code\u003e endpoint.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ehttps://www.googleapis.com/auth/ddmconversions\u003c/code\u003e authorization scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a \u003ccode\u003eConversionsBatchUpdateRequest\u003c/code\u003e object with the conversions to update.\u003c/p\u003e\n"],["\u003cp\u003eThe response indicates success or failure and provides the status of each conversion update.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes \u003ccode\u003ePOST\u003c/code\u003e method and includes \u003ccode\u003eprofileId\u003c/code\u003e as a path parameter.\u003c/p\u003e\n"]]],[],null,["# Method: conversions.batchupdate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ConversionsBatchUpdateResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ConversionsBatchUpdateRequest](#ConversionsBatchUpdateRequest)\n - [JSON representation](#ConversionsBatchUpdateRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nUpdates existing conversions.\n\n### HTTP request\n\n`POST https://dfareporting.googleapis.com/dfareporting/v4/userprofiles/{profileId}/conversions/batchupdate`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------|\n| `profile``Id` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` User profile ID associated with this request. |\n\n### Request body\n\nThe request body contains an instance of [ConversionsBatchUpdateRequest](/doubleclick-advertisers/rest/v4/conversions/batchupdate#ConversionsBatchUpdateRequest).\n\n### Response body\n\nUpdate Conversions Response.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"hasFailures\": boolean, \"status\": [ { object (/doubleclick-advertisers/rest/v4/ConversionStatus) } ], \"kind\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `has``Failures` | `boolean` Indicates that some or all conversions failed to update. |\n| `status[]` | `object (`[ConversionStatus](/doubleclick-advertisers/rest/v4/ConversionStatus)`)` The update status of each conversion. Statuses are returned in the same order that conversions are updated. |\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#conversionsBatchUpdateResponse\"` . |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/ddmconversions`\n\nConversionsBatchUpdateRequest\n-----------------------------\n\nUpdate Conversions Request.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"kind\": string, \"conversions\": [ { object (/doubleclick-advertisers/rest/v4/Conversion) } ], \"encryptionInfo\": { object (/doubleclick-advertisers/rest/v4/EncryptionInfo) } } ``` |\n\n| Fields ||\n|--------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies what kind of resource this is. Value: the fixed string `\"dfareporting#conversionsBatchUpdateRequest\"` . |\n| `conversions[]` | `object (`[Conversion](/doubleclick-advertisers/rest/v4/Conversion)`)` The set of conversions to update. |\n| `encryption``Info` | `object (`[EncryptionInfo](/doubleclick-advertisers/rest/v4/EncryptionInfo)`)` Describes how `encryptedUserId` is encrypted. This is a required field if `encryptedUserId` is used. |"]]