I'm attempting to upload the full path of conversions through the API. I am 
not using google tags or google tag manager; instead I collect 
gclid/gbraid/wbraid on user landing and correlate with signup/purchase 
conversions actions in my service end.

(I cannot use a google-supplied SDK, instead I'm doing raw REST POST 
requests.)

I'm posting this URL:

POST 
http://googleads.googleapis.com/v19/customers/703XXXXXXX:uploadClickConversions 
<http://googleads.googleapis.com/v19/customers/7032362250:uploadClickConversions>

{
  "userIdentifiers":[
    {"hashedEmail":"ca6a75ae06bf4d25c0f7f88XXXXXXXXXXXXXXXXXX"}
  ],
  "conversionEnvironment":"WEB",
  "conversionDateTime":"2025-05-08 23:54:34+00:00",
  "consent":{"adUserData":"GRANTED"},
  "gbraid":"0AAAAA_LuFXXXXXX-fn6BmXXXXXXX",
  
"gclid":"Cj0KCQjwrPHABhCIAXXXXXXXXXXXXXXXXXXXXXXXXXX-oDCAfb9dXXXXXXXXXXXXXXXXXXX",
  "conversionAction":"customers/703XXXXXXX/conversionActions/711XXXXXXX"
}

However, I get this error:

{
  "partialFailureError":{
    "code":3,
    "message":"The field cannot be set., at conversions[0].gclid",
    "details": [{
        
"@type":"type.googleapis.com/google.ads.googleads.v19.errors.GoogleAdsFailure",
        "errors":[{
          "errorCode":{
            "fieldError":"VALUE_MUST_BE_UNSET"
          },
          "message":"The field cannot be set.",
          "trigger":{
          
  
"stringValue":"Cj0KCQjwrPHABhCIAXXXXXXXXXXXXXXXXXXXXXXXXXX-oDCAfb9dXXXXXXXXXXXXXXXXXXX"
          },
          "location":{
            "fieldPathElements":[{
              "fieldName":"conversions",
              "index":0
            },
            {
              "fieldName":"gclid"
            }]
          }
        }],
        "requestId":"jOQ3ZJT7ntSrGhTgUsYniw"
      }]
    },
    "results":[{}],
    "jobId":"6845932XXXXXXXXXXXXXX"
}


As far as I can tell this is a conversion from an iOS browser that resulted 
in a sign-up.
Given that I captured all three of "gclid," "gbraid" and "hashedEmail" on 
my web service during this customer flow, how do I upload and correlate 
this conversion without getting this error?

Also, I'm not 100% sure that uploadClickConversions is the correct method 
to call, but I can't find anything that seems more appropriate. All of the 
guidance is useless because it all assumes that I can set up google tags / 
google tag manager to track the initial click.

(I initially posted this to the Google Ads help forum thingie but I think 
this Group seems like a more likely place to figure out what's going on.)

Sincerely

Jon 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/adwords-api/8040a537-e06d-4ffa-a1f4-939b6cc31f1dn%40googlegroups.com.
  • POST to uploadClickCo... 'Jon Watte' via Google Ads API and AdWords API Forum

Reply via email to