Re: uploading enhanced conversion via rest api (not client library)

2023-08-22 Thread MKostrosO2
Are you able to answer the questions/notes from the last reply?
Thank you in advance.

Have a nice day

On Friday, August 18, 2023 at 8:57:21 AM UTC+2 MKostrosO2 wrote:

> OK, thank you.
> I understand, that this means my integration should work properly then.
> Let's go through example scenario and please validate every step, whether 
> this will work or not:
>
>
>1. Customer is targeted with some Google ad
>2. He clicks through it and is redirected to my website, moreover, the 
>URL contains parameter gclid
>3. 
>   - does google store this information, is it the lead we need before 
>   we can send enhanced conversion via REST API discussed above?
>   - if so, is it stored even if customer does not allow marketing (or 
>   any other cookies on website) - in case this is his very first website 
>   visit ?
>4. Am I subsequently ready to send enhanced conversion? Or should I 
>firstly create the lead using gclid from URL and then I have everything 
>prepared for enhanced conversion (in case of any customer offline action)
>
> And I'm a bit confused by this: *"The conversions process needs PII (the 
> hashed email in your case) and the accompanying GCLID forwarded from a 
> website"*
>
>- The REST API request for enhanced conversion should contain not only 
>hashed PII, but also the gclid ? no gclid was mentioned within the 
>documentation 
>
> https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers
> nor 
>
> https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/uploadClickConversions
>
> If the steps I've described will work, how does google merge the 
> conversion ?
> - does it work like - gclid is connected to a customer's email address, so 
> when I send enhanced conversion (with PII but no gclid), the email will be 
> merged with previous lead's gclid ?
> This does not make sense, a customer could have clicked on more ads, so I 
> suppose I'm not right :/
>
> I'm grateful for your time, help and additional information.
>
> Regards,
> Marius
> On Thursday, August 17, 2023 at 3:29:57 PM UTC+2 Google Ads API Forum 
> Advisor wrote:
>
>> Thanks for the detailed response. Unfortunately, there is no way to 
>> perform the type of E2E testing with your current setup. The conversions 
>> process needs PII (the hashed email in your case) and the accompanying 
>> GCLID forwarded from a website to start the process. Otherwise, it will 
>> respond with CLICK_NOT_FOUND.
>>
>> The way I've seen other users do this is to create a test account in Ads 
>> and then have a development website where you setup a lead form and then 
>> click on it to generate your own test conversions.
>>
>> Kudos, on working through the process to get the correct REST request and 
>> wanting to perform E2E testing. 
>>
>>
>>   
>> This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"
>>
>> Thanks,
>>   
>> [image: Google Logo] 
>> Bob Hancock 
>> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4f8cc7d3-4e1d-419b-8fa9-d11c54792001n%40googlegroups.com.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-17 Thread MKostrosO2
OK, thank you.
I understand, that this means my integration should work properly then.
Let's go through example scenario and please validate every step, whether 
this will work or not:


   1. Customer is targeted with some Google ad
   2. He clicks through it and is redirected to my website, moreover, the 
   URL contains parameter gclid
   3. 
  - does google store this information, is it the lead we need before 
  we can send enhanced conversion via REST API discussed above?
  - if so, is it stored even if customer does not allow marketing (or 
  any other cookies on website) - in case this is his very first website 
  visit ?
   4. Am I subsequently ready to send enhanced conversion? Or should I 
   firstly create the lead using gclid from URL and then I have everything 
   prepared for enhanced conversion (in case of any customer offline action)

And I'm a bit confused by this: *"The conversions process needs PII (the 
hashed email in your case) and the accompanying GCLID forwarded from a 
website"*

   - The REST API request for enhanced conversion should contain not only 
   hashed PII, but also the gclid ? no gclid was mentioned within the 
   documentation 
   
https://developers.google.com/google-ads/api/docs/conversions/upload-identifiers
nor 
   
https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers/uploadClickConversions

If the steps I've described will work, how does google merge the conversion 
?
- does it work like - gclid is connected to a customer's email address, so 
when I send enhanced conversion (with PII but no gclid), the email will be 
merged with previous lead's gclid ?
This does not make sense, a customer could have clicked on more ads, so I 
suppose I'm not right :/

I'm grateful for your time, help and additional information.

Regards,
Marius
On Thursday, August 17, 2023 at 3:29:57 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Thanks for the detailed response. Unfortunately, there is no way to 
> perform the type of E2E testing with your current setup. The conversions 
> process needs PII (the hashed email in your case) and the accompanying 
> GCLID forwarded from a website to start the process. Otherwise, it will 
> respond with CLICK_NOT_FOUND.
>
> The way I've seen other users do this is to create a test account in Ads 
> and then have a development website where you setup a lead form and then 
> click on it to generate your own test conversions.
>
> Kudos, on working through the process to get the correct REST request and 
> wanting to perform E2E testing. 
>
>
>   
> This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"
>
> Thanks,
>   
> [image: Google Logo] 
> Bob Hancock 
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/215b2f30-b105-4395-861d-7897b1a01df2n%40googlegroups.com.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-17 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Thanks for the detailed response. Unfortunately, there is no way to perform the 
type of E2E testing with your current setup. The conversions process needs PII 
(the hashed email in your case) and the accompanying GCLID forwarded from a 
website to start the process. Otherwise, it will respond with CLICK_NOT_FOUND.

The way I've seen other users do this is to create a test account in Ads and 
then have a development website where you setup a lead form and then click on 
it to generate your own test conversions.

Kudos, on working through the process to get the correct REST request and 
wanting to perform E2E testing.

This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"

Thanks,

Bob Hancock
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7cWXT0RZJET700jbsOGvFTRey-ilGmXJm8-Q%40sfdc.net.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-16 Thread MKostrosO2
Hey Bob,

thanks for joining the conversation.


   - *You are uploading enhanced conversions for leads and NOT 
   web. https://support.google.com/google-ads/answer/9888656#leads 
   *
  - YES, there was maybe quite a misunderstanding (also from my side) 
  during to implementation, but YES, this is what I need to achieve
   - *You are using the REST API.*
  - YES, I have no option to use any library,  and I was recommended to 
  use method customer.uploadClickConversion 
  

  s
   - *You are able execute a REST request without error.*
  - YES, if I turn off debuging (*"debugEnabled": False*). I'm 
  providing whole payload with response below once again.
   - *When you query the summary for the status of your upload you receive 
   the error CLICK_NOT_FOUND for this conversion upload.*
  - It's not quite a clear, as there is a summary of uploads for last 
  week and then jobSummaries. See the example below
   
I've also waited more than 24 hours and then checked the summaries, so this 
is not the case..
The error CLICK_NOT_FOUND has percentage = 1, I'm not sure, but maybe it 
means 100% of jobs listed within the summary failed with this error ?

*You can get this error immediately if in your request you set debug and 
partial failure to true. With these setting, the error will appear in your 
response. This is most useful when developing your application.*
Yes, I was working with this settings. However, then I was recommended to 
set *debugEnabled* to *False.*

Here's a full example of my request & response:

headers = {
'content-type': 'application/json',
'Authorization': 'Bearer ' + {ACCESS_TOKEN},
"login-customer-id": "{CUSTOMER_ID}",
"developer-token": "{DEVELOPER_TOKEN}"
}


body = {
"conversions": [
{
"user_identifiers": [
{
  "hashedEmail": {HASHED_EMAIL},
  "userIdentifierSource": "FIRST_PARTY"
}
],
"conversionAction": 
"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
"conversionDateTime": {CONVERSION_DATE_TIME},
"conversionValue": 10,
"currencyCode": "CZK"
}
],
"partialFailure": True,
"validateOnly": False,
"debugEnabled": False
}
  

URL = 
"https://googleads.googleapis.com/v14/customers/{CUSTOMER_ID}:uploadClickConversions";
   
With "debugEnabled": False Google accepts the request with response 200 and 
body:
{
  "results": [
{
  "conversionAction": 
"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
  "conversionDateTime": "2023-08-17 07:58:16+02:00",
  "userIdentifiers": [
{
  "userIdentifierSource": "FIRST_PARTY",
  "hashedEmail": 
"1216daeb8ce98dd9a47a40c301a32dcdde3a4c663318da09163d0f4b8c0ad8ce"
}
  ]
}
  ],
  "jobId": "7191316501863973724"
}

For now it's still not processed by google, so I will not find the jobId in 
*monitor 
summary*, but I've tested very same request few times during past days and 
it's still same:
{
  'results': [
{
  'customer': {
'resourceName': 'customers/{CUSTOMER_ID}',
'conversionTrackingSetting': {
  'googleAdsConversionCustomer': 'customers/{CUSTOMER_ID}'
},
'id': '{CUSTOMER_ID}',
'offlineConversionClientSummaries': [
  {
'client': 'GOOGLE_ADS_API',
'status': 'NEEDS_ATTENTION',
'totalEventCount': '1',
'lastUploadDateTime': '2023-08-16 08:21:20.75725',
'dailySummaries': [
  {
'uploadDate': '2023-08-09',
'failedCount': '1'
  },
  {
'uploadDate': '2023-08-10',
'failedCount': '3'
  },
  {
'uploadDate': '2023-08-11',
'failedCount': '6'
  },
  {
'uploadDate': '2023-08-14',
'failedCount': '3'
  },
  {
'uploadDate': '2023-08-15',
'failedCount': '1'
  },
  {
'uploadDate': '2023-08-16',
'failedCount': '1'
  }
],
'jobSummaries': [
  {
'jobId': '108445157845911769',
'failedCount': '1'
  },
  {
'jobId': '2615533122696232816',
'failedCount': '1'
  },
  {
'jobId': '4007121670900219769',
'failedCount': '1'
  },
  {
'jo

Re: uploading enhanced conversion via rest api (not client library)

2023-08-16 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,


Thank you for getting back and providing your insights on this. Allow me to 
raise your concern to our wider team for further investigation on the matter. 
Rest assured that one of our colleagues will get back to update this thread 
soon.


In the meantime, your patience is greatly appreciated.


This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"

Thanks,

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/hJDNr0RZHGNB008Hwn8YiSRse9_5PDgqvuRQ%40sfdc.net.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-15 Thread MKostrosO2
Thanks for response,

but, with every answer I'm not sure, whether we're moving forward or 
backwards.
You say - *You need to associate your offline click conversions with a 
conversion action by passing either the gclid, gbraid, or wbraid identifier*
And you referencing me to Upload Click Conversions 

, but let me summarize the conversation again:
1. I'm preparing process for Uploading Enhanced conversions for Leads 

 (using 
hashed Email/Phone as user_identifier)
2. Then I was redirected to REST API method customer.uploadClickConversion 
s
 
(using hashed Email/Phone as user_identifier) - as a detailed description 
of REST API for enhanced conversions
3. Currently, Google Ads account accept my requests, but after few hours I 
see in monitor summaries 
,
 
that the uploads failed according to *CLICK_NOT_FOUND* error

And now, you are redirecting me to upload-clicks 

 using *gclid, gbraid, or wbraid, *instead of enhanced conversions 

 
using user_identifiers (email, phone) - about which I'm speaking about.
Could we please try to keep a consistency in this conversion ? Because now 
we're only going in circles :(

Thank you!
On Monday, August 14, 2023 at 1:37:33 PM UTC+2 Google Ads API Forum Advisor 
wrote:

> Hello,
>
> Thank you for getting back to us.
>
> Upon checking your error message, you are getting a *CLICK_NOT_FOUND* error, 
> the click can't be found for the specified identifiers. This may be because 
> it did not come from a Google Ads campaign(
> *https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionUploadErrorEnum.ConversionUploadError#click_not_found*
>  
> 
> ).
>
> Please note that based on our Code Example found here(
> *https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#code_example*
>  
> ),
>  
> You need to associate your offline click conversions with a conversion 
> action by passing either the *gclid*, *gbraid*, or *wbraid* identifier. 
> In addition, provide the *conversion date time*, *conversion action 
> resource name *and optionally the conversion value and currency to 
> *ConversionUploadService*.
>
>- *ConversionUploadService* - 
>
> *https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionUploadService*
>  
>
> 
>  
>
> Additionally, there are several requirements that must be met when 
> uploading a ClickConversion, for more information on these requirements 
> please refer to this section of the documentation(
> *https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#upload_clickconversion*
>  
> 
> ).
>
> Can you also please provide us with the full API logs(*request* and 
> *response* with *request ID*) and the respective IDs of these resources 
> which caused this error to occur? I am asking for this so we can check on 
> our end the error and provide precise recommendations.
>
>- *request: *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request*
>  
>
> 
>  
>- *response: *
>
> *https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response*
>  
>
> 
>  
>- *request-id:* 
>
> *https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id*
>  
>
> 
>  
>
> *You can provide it via Reply privately to the author option. If this 
> option is not available, then send it instead on this email 
> address googleadsa...@google.com*
> 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 s

Re: uploading enhanced conversion via rest api (not client library)

2023-08-14 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hello,

Thank you for getting back to us.

Upon checking your error message, you are getting a CLICK_NOT_FOUND error, the 
click can't be found for the specified identifiers. This may be because it did 
not come from a Google Ads 
campaign(https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionUploadErrorEnum.ConversionUploadError#click_not_found).

Please note that based on our Code Example found 
here(https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#code_example),
 You need to associate your offline click conversions with a conversion action 
by passing either the gclid, gbraid, or wbraid identifier. In addition, provide 
the conversion date time, conversion action resource name and optionally the 
conversion value and currency to ConversionUploadService.

ConversionUploadService - 
https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionUploadService

Additionally, there are several requirements that must be met when uploading a 
ClickConversion, for more information on these requirements please refer to 
this section of the 
documentation(https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#upload_clickconversion).

Can you also please provide us with the full API logs(request and response with 
request ID) and the respective IDs of these resources which caused this error 
to occur? I am asking for this so we can check on our end the error and provide 
precise recommendations.

request: 
https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#request
response: 
https://developers.google.com/google-ads/api/docs/concepts/field-service?hl=en#response
request-id: 
https://developers.google.com/google-ads/api/docs/concepts/call-structure?hl=en#request-id

You can provide it via Reply privately to the author option. If this option is 
not available, then send it instead on this email address 
googleadsapi-supp...@google.com

This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"

Thanks,

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/qxcNn0RZDPM200_N6U05tOTaCihCSudzNbKA%40sfdc.net.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-14 Thread MKostrosO2
Monitoring upload summaries (with query via googleAds:search API) suddenly 
started to work. The query passes the query validator (maybe some fix on 
google side, I have no idea).

However, my uploads were not successful, see the summary:







*'alerts': [  {'error': {  
'conversionUploadError': 'CLICK_NOT_FOUND'},
'errorPercentage': 1  }]*

As mentioned below, you recommended to turn of debuging


















*"conversions": [{"user_identifiers": 
[{  "hashedEmail": {HASHED_EMAIL},  
"userIdentifierSource": "FIRST_PARTY"  
  }],"conversionAction": 
f"customers/{CUSTOMER_ID}/conversionActions/{CONVERSION_ACTION_ID}",
"conversionDateTime": {CONVERSION_DATE_TIME},
"conversionValue": 10,"currencyCode": "CZK"}
],"partialFailure": True,"validateOnly": False,
"debugEnabled": False}*

However, with debugging set to false, the request is accepted by 
*uploadClickConversion*, but at the end of the day it leads to error anyway.
If I understand it well from docs, it's caused by the fact, that I'm 
sending EMAIL address and conversionDateTime, which can not be paired with 
real click tracked in Google Ads.

Then my question is, what's the purpose of uploading conversions via API, 
when I'm not able to create new ones without previous "evidence" of a click 
in Google ?
Or am I doing something wrong ?
Or the only purpose is to update existing conversions (match them with any 
orders, campaigns, etc)?

Am I able to create new conversions, or not at all ?

Thanks for any help, all these "excercises" to prepare API integration 
becomes really frustrating :/

On Thursday, August 10, 2023 at 3:07:17 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi everyone,
>
>  
>
> @ Marius,
>
>  
>
> If you'd like to do this via the UI, then it would be best to ask for 
> assistance from the Google Ads Product support team as they are more 
> familiar with the features and functionalities of the Google Ads UI. You 
> can reach them here: https://support.google.com/google-ads/gethelp
>
>  
>
> Moving forward to your issue of not being able to use *Monitor upload 
> summaries* 
> ,
>  
> can you elaborate on the issue or if you encountered any error kindly 
> provide privately the Complete request 
> 
>  and response 
> 
>  logs, 
> with the request-id 
> 
>  generated 
> for the error. Make sure to send this privately via the "*Reply to author*" 
> option. If this option is not available on your end, you may send it 
> through our email (googleadsa...@google.com) instead.
>
>  
>
> Looking forward to your response.
>
>  
>
> @ Triple A team
>
>  
>
> Thank you for your insights. Unfortunately we would not be able to comment 
> further on other platforms' features. From the Google Ads AI perspective, 
> you can refer to our documentation on Conversion Management 
>  on 
> how to achieve this via the API.
>   
> 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/43068335-4980-469e-a3b6-c3e75f3125e8n%40googlegroups.com.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-10 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi everyone,


@ Marius,


If you'd like to do this via the UI, then it would be best to ask for 
assistance from the Google Ads Product support team as they are more familiar 
with the features and functionalities of the Google Ads UI. You can reach them 
here: https://support.google.com/google-ads/gethelp


Moving forward to your issue of not being able to use Monitor upload summaries, 
can you elaborate on the issue or if you encountered any error kindly provide 
privately the Complete request and response logs, with the request-id generated 
for the error. Make sure to send this privately via the "Reply to author" 
option. If this option is not available on your end, you may send it through 
our email (googleadsapi-supp...@google.com) instead.


Looking forward to your response.


@ Triple A team


Thank you for your insights. Unfortunately we would not be able to comment 
further on other platforms' features. From the Google Ads AI perspective, you 
can refer to our documentation on Conversion Management on how to achieve this 
via the API.

This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"

Thanks,

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8X8wx0RZ6F3I00FDdS1OkBT0C9_O35eCnwoA%40sfdc.net.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-10 Thread Triple A
I'm quite amazed at how poor google API is regarding this. 
Any other provider let's you easily report conversions with just a curl
(https://developers.facebook.com/docs/marketing-api/conversions-api/using-the-api,
 
https://ads.tiktok.com/gateway/docs/index?identify_key=2b9b4278e47b275f36e7c39a4af4ba067d088e031d5f5fe45d381559ac89ba48&language=ENGLISH&doc_id=1727541103358977#item-link-Report%20a%20web%20event
etc...)
 and then we have Google, wasting everyones time by giving complex flows 
that require entire SDKs for simple tasks.

It takes minutes of not seconds to implement a conversion on Tiktok, 
Facebook, etc.. & it takes hours if not days for Google.

On Wednesday, August 9, 2023 at 3:51:45 PM UTC+2 MKostrosO2 wrote:

> Thank you for your response.
> I've read the documentation you shared, however is it necessary to create 
> it via API ? I would prefer GUI, as it is only one-time task for testing, 
> so it would be much more effective.
>
> Nevertheless, your point about *validateOnly* was helpful, somehow I 
> haven't realized it before.
> Now I'm getting response as described in documentation:
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> *{  "results": [{  "conversionAction": 
> "customers/92***29/conversionActions/101***55",  
> "conversionDateTime": "2023-08-08 09:30:00+02:00",  "userIdentifiers": 
> [{  "userIdentifierSource": "FIRST_PARTY",  
> "hashedEmail": 
> "bc192bb8953b2a2bc4d256c80f932e0b548665dd949342a137e6ba744be44975"
> }  ]}  ],  "jobId": "438902809389824964"}*
> I suppose this means it's working properly.
> However, I can not see any change in Google Ads GUI for the used 
> Conversion.
>
> As mentioned below, I'm still not able to use the query
>
>
>
>
> *SELECT  customer.id ,  
> customer.conversion_tracking_setting.google_ads_conversion_customer,  
> customer.offline_conversion_client_summariesFROM customer*
>
> To see statistics of updated offline conversions..
>
> Any ideas ?
> Thx
> On Wednesday, August 9, 2023 at 2:41:37 PM UTC+2 Google Ads API Forum 
> Advisor wrote:
>
>> Hi,
>>
>>  
>>
>> Thank you for your response.
>>
>>  
>>
>> Moving forward to your question on how to create request for 
>> conversionAction, you may refer to the following documentations:
>>
>>- Create conversion actions - 
>>
>> https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions
>>  
>>- Conversion Action resource (fields) 
>>
>> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionAction
>>  
>>- REST explorer: ConversionActionService - 
>>
>> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionActionService
>>  
>>
>>  
>>
>> Regarding your concern on how to determine if the request was 
>> successful/works properly, then you can set the *debug_enabled* 
>> 
>>  to *true, *so that it will return errors if any are found. In addition, 
>> based on your sample request provided, you set "*validateOnly* 
>> ":
>>  
>> True. If this field is true, then the request is *validated but not 
>> executed*. Only errors are returned, not results. Kindly set this to 
>> false if you'd like the request to be executed. Once your request is 
>> successful, you may refer here 
>> 
>>  for 
>> a sample response.
>>
>>  
>>
>> Let me know if you have any 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5fa40373-0212-40f9-91af-923c6c5b2c82n%40googlegroups.com.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread MKostrosO2
Thank you for your response.
I've read the documentation you shared, however is it necessary to create 
it via API ? I would prefer GUI, as it is only one-time task for testing, 
so it would be much more effective.

Nevertheless, your point about *validateOnly* was helpful, somehow I 
haven't realized it before.
Now I'm getting response as described in documentation:
















*{  "results": [{  "conversionAction": 
"customers/92***29/conversionActions/101***55",  
"conversionDateTime": "2023-08-08 09:30:00+02:00",  "userIdentifiers": 
[{  "userIdentifierSource": "FIRST_PARTY",  
"hashedEmail": 
"bc192bb8953b2a2bc4d256c80f932e0b548665dd949342a137e6ba744be44975"
}  ]}  ],  "jobId": "438902809389824964"}*
I suppose this means it's working properly.
However, I can not see any change in Google Ads GUI for the used Conversion.

As mentioned below, I'm still not able to use the query




*SELECT  customer.id,  
customer.conversion_tracking_setting.google_ads_conversion_customer,  
customer.offline_conversion_client_summariesFROM customer*

To see statistics of updated offline conversions..

Any ideas ?
Thx
On Wednesday, August 9, 2023 at 2:41:37 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi,
>
>  
>
> Thank you for your response.
>
>  
>
> Moving forward to your question on how to create request for 
> conversionAction, you may refer to the following documentations:
>
>- Create conversion actions - 
>
> https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions
>  
>- Conversion Action resource (fields) 
>
> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionAction
>  
>- REST explorer: ConversionActionService - 
>
> https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionActionService
>  
>
>  
>
> Regarding your concern on how to determine if the request was 
> successful/works properly, then you can set the *debug_enabled* 
> 
>  to *true, *so that it will return errors if any are found. In addition, 
> based on your sample request provided, you set "*validateOnly* 
> ":
>  
> True. If this field is true, then the request is *validated but not 
> executed*. Only errors are returned, not results. Kindly set this to 
> false if you'd like the request to be executed. Once your request is 
> successful, you may refer here 
> 
>  for 
> a sample response.
>
>  
>
> Let me know if you have any 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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7990977c-cdb7-4357-a341-79e4df6e204bn%40googlegroups.com.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi,


Thank you for your response.


Moving forward to your question on how to create request for conversionAction, 
you may refer to the following documentations:

Create conversion actions - 
https://developers.google.com/google-ads/api/docs/conversions/create-conversion-actions
Conversion Action resource (fields) 
https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionAction
REST explorer: ConversionActionService - 
https://developers.google.com/google-ads/api/reference/rpc/v14/ConversionActionService


Regarding your concern on how to determine if the request was successful/works 
properly, then you can set the debug_enabled to true, so that it will return 
errors if any are found. In addition, based on your sample request provided, 
you set "validateOnly": True. If this field is true, then the request is 
validated but not executed. Only errors are returned, not results. Kindly set 
this to false if you'd like the request to be executed. Once your request is 
successful, you may refer here for a sample response.


Let me know if you have any questions.

This message is in relation to case "ref:_00D1U1174p._5004Q2nd55H:ref"

Thanks,

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/qgQkh0RZ4J6200HpcZTorgRIeYk7-KqRJf5Q%40sfdc.net.


Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread MKostrosO2
Note, that next steps from documentation does not work properly.
Upload summary is mentioned there - Next steps 

 - 
but query from Update summary 

:




*SELECT  customer.id,  
customer.conversion_tracking_setting.google_ads_conversion_customer,  
customer.offline_conversion_client_summariesFROM customer*

The query takes a while, however after a few minutes, I get only response:















*{  'results': [{  'customer': {'resourceName': 
'customers/92**29','conversionTrackingSetting': {  
'googleAdsConversionCustomer': 'customers/92**29'},
'id': '92**29'  }}  ],  'fieldMask': 
'customer.id,customer.conversionTrackingSetting.googleAdsConversionCustomer,customer.offlineConversionClientSummaries'}*

No daily summary as mentioned in docs 


On Wednesday, August 9, 2023 at 12:24:15 PM UTC+2 MKostrosO2 wrote:

> So my question is, how to check, whether it works properly? How to check 
> it processed request (for example in Google Ads GUI), as the only 
> information I get is repsonse 200 with jobId
> Thank you very much for help.
>
>
>
> On Wednesday, August 9, 2023 at 12:13:28 PM UTC+2 MKostrosO2 wrote:
>
>> According to docs UploadClickConversionsRequest 
>> ,
>>  
>> do I understand well, that it's expected behaviour ?
>>
>> my payload once again:
>>
>> 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*}
>>
>>
>>
>> *If debug_enabled true, the API will perform all upload checks and return 
>> errors if any are found. If false, it will perform only basic input 
>> validation, skip subsequent upload checks, and return success even if no 
>> click was found for the provided user_identifiers.*
>>
>> *This setting only affects Enhanced conversions for leads uploads that 
>> use user_identifiers instead of GCLID, GBRAID, or WBRAID. When uploading 
>> enhanced conversions for leads, you should upload all conversion events to 
>> the API, including those that may not come from Google Ads campaigns. The 
>> upload of an event that is not from a Google Ads campaign will result in 
>> a CLICK_NOT_FOUND error if this field is set to true. Since these errors 
>> are expected for such events, set this field to false so you can confirm 
>> your uploads are properly formatted but ignore CLICK_NOT_FOUND errors from 
>> all of the conversions that are not from a Google Ads campaign. This will 
>> allow you to focus only on errors that you can address.*
>>
>> *Default is false.*
>>
>> On Wednesday, August 9, 2023 at 10:28:09 AM UTC+2 MKostrosO2 wrote:
>>
>>> 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

Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread MKostrosO2
So my question is, how to check, whether it works properly? How to check it 
processed request (for example in Google Ads GUI), as the only information 
I get is repsonse 200 with jobId
Thank you very much for help.



On Wednesday, August 9, 2023 at 12:13:28 PM UTC+2 MKostrosO2 wrote:

> According to docs UploadClickConversionsRequest 
> ,
>  
> do I understand well, that it's expected behaviour ?
>
> my payload once again:
>
> 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*}
>
>
>
> *If debug_enabled true, the API will perform all upload checks and return 
> errors if any are found. If false, it will perform only basic input 
> validation, skip subsequent upload checks, and return success even if no 
> click was found for the provided user_identifiers.*
>
> *This setting only affects Enhanced conversions for leads uploads that 
> use user_identifiers instead of GCLID, GBRAID, or WBRAID. When uploading 
> enhanced conversions for leads, you should upload all conversion events to 
> the API, including those that may not come from Google Ads campaigns. The 
> upload of an event that is not from a Google Ads campaign will result in 
> a CLICK_NOT_FOUND error if this field is set to true. Since these errors 
> are expected for such events, set this field to false so you can confirm 
> your uploads are properly formatted but ignore CLICK_NOT_FOUND errors from 
> all of the conversions that are not from a Google Ads campaign. This will 
> allow you to focus only on errors that you can address.*
>
> *Default is false.*
>
> On Wednesday, August 9, 2023 at 10:28:09 AM UTC+2 MKostrosO2 wrote:
>
>> 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* 
>>> 
>>>  for 
>>> the request url and request body structure. You may also utilize the *api 
>>> explorer customers.uploadClickConversions* 
>>> 
>>>  to test out the method. 
>>>
>>> For your reference, you may refer to *this* 
>>> 
>>>  guide 
>>> for uploading Enhanced Conversions for Leads.
>>>
>>> Let us know if you have additional questions.
>>>  
>>> This message is in re

Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread MKostrosO2
According to docs UploadClickConversionsRequest 
,
 
do I understand well, that it's expected behaviour ?

my payload once again:

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*}



*If debug_enabled true, the API will perform all upload checks and return 
errors if any are found. If false, it will perform only basic input 
validation, skip subsequent upload checks, and return success even if no 
click was found for the provided user_identifiers.*

*This setting only affects Enhanced conversions for leads uploads that 
use user_identifiers instead of GCLID, GBRAID, or WBRAID. When uploading 
enhanced conversions for leads, you should upload all conversion events to 
the API, including those that may not come from Google Ads campaigns. The 
upload of an event that is not from a Google Ads campaign will result in 
a CLICK_NOT_FOUND error if this field is set to true. Since these errors 
are expected for such events, set this field to false so you can confirm 
your uploads are properly formatted but ignore CLICK_NOT_FOUND errors from 
all of the conversions that are not from a Google Ads campaign. This will 
allow you to focus only on errors that you can address.*

*Default is false.*

On Wednesday, August 9, 2023 at 10:28:09 AM UTC+2 MKostrosO2 wrote:

> 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* 
>> 
>>  for 
>> the request url and request body structure. You may also utilize the *api 
>> explorer customers.uploadClickConversions* 
>> 
>>  to test out the method. 
>>
>> For your reference, you may refer to *this* 
>> 
>>  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

Re: uploading enhanced conversion via rest api (not client library)

2023-08-09 Thread MKostrosO2
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* 
> 
>  for 
> the request url and request body structure. You may also utilize the *api 
> explorer customers.uploadClickConversions* 
> 
>  to test out the method. 
>
> For your reference, you may refer to *this* 
> 
>  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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2a388192-3cf1-42bf-a504-5aca7f162e9dn%40googlegroups.com.