Page Summary
-
The "conversions.batchinsert" method is used to insert conversions.
-
It utilizes an HTTP POST request to a specific URL containing a
profileId. -
The request body requires a
ConversionsBatchInsertRequestobject, which includes the conversions to be inserted and optional encryption information. -
The response body is a
ConversionsBatchInsertResponseobject indicating if there were failures and providing the status for each conversion insertion. -
This method requires the
https://www.googleapis.com/auth/ddmconversionsauthorization scope.
- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- ConversionsBatchInsertRequest
- Try it!
Inserts conversions.
HTTP request
POST https://dfareporting.googleapis.com/dfareporting/v5/userprofiles/{profileId}/conversions/batchinsert
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 ConversionsBatchInsertRequest
.
Response body
Insert 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 insert. |
status[]
|
The insert status of each conversion. Statuses are returned in the same order that conversions are inserted. |
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
ConversionsBatchInsertRequest
Insert 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 insert. |
encryptionInfo
|
Describes how or is encrypted. This is a required field if or is used. |

