Thank you for your help.
I've managed to prepare whole request and it's working.
I have just no idea which conversions could be updated this way.
I've tried few of them, but with the request body:
body = {
"conversions": [
{
"user_identifiers": [
{
"hashedEmail": {HASHED_EMAIL},
"userIdentifierSource": "FIRST_PARTY"
}
],
"conversionAction":
"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
"conversionDateTime": {CONVERSION_DATE_TIME}
}
],
"partialFailure": True,
"validateOnly": True,
"debugEnabled": True
}
I get the error:
*"errorCode": {"conversionUploadError": "CLICK_NOT_FOUND"},*
*"message": "The click can't be found for the specified identifiers. This
may be because it did not come from a Google Ads campaign."*
Let's say I'm trying to update this conversionAction"
*"conversionAction": { "resourceName": "customers/
{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}", "status":
"ENABLED", "type": "WEBPAGE", "category": "DEFAULT",
"id": "{CONVERSION_ACTION_ID}", "name": "xXx",
"ownerCustomer": "customers/{CUSTOMER_ID}"*
* }*
I suppose this is not supported by uploadConversionAction, but could you
please help how to create one, which will work ?
Maybe how to create one within Google Ads GUI, that will be updateable via
API ?
Grateful for any help.
Regards,
Marius Kostros
On Tuesday, August 8, 2023 at 6:14:06 PM UTC+2 Google Ads API Forum Advisor
wrote:
> Hi Marius,
>
> Thank you for reaching out to Google Ads API Forum.
>
> For the REST method in uploading enhanced conversions, you may refer to
> the REST method *customers.uploadClickConversions*
> <https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/uploadClickConversions>
> for
> the request url and request body structure. You may also utilize the *api
> explorer customers.uploadClickConversions*
> <https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/uploadClickConversions?apix=true>
> to test out the method.
>
> For your reference, you may refer to *this*
> <https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers>
> guide
> for uploading Enhanced Conversions for Leads.
>
> Let us know if you have additional questions.
>
> This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"
>
> Thanks,
>
> [image: Google Logo] Google Ads API Team
>
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 on the web visit
https://groups.google.com/d/msgid/adwords-api/2a388192-3cf1-42bf-a504-5aca7f162e9dn%40googlegroups.com.