With the insights provided by the DEBUG log messages. I think I solved it.

First I got this message:

message: "Resource name 
\'customers/2793184560/conversionActions/AW-338690233\' is malformed: 
expected 
\'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}\'.,
 
at conversions[0].conversion_action"

This is the action id was wrong, it must be: like 338690322

Then I got:

message: "This customer does not have an *import conversion action* that 
matches the conversion action provided., at 
conversions[0].conversion_action"

So I realized I needed to create an *IMPORT *conversion action for *Other 
data sources or CRM*.

Now I get:

message: "This conversion action was created too recently. Please wait 4-6 
hours and try uploading again., at conversions[0].conversion_action"

So I just need to wait.

I couldn't find the conversion ID first, then I found that it is in the 
action details page url as the query parameter &ctId=ACTION_ID

Thanks,

Rodolfo

El viernes, 8 de octubre de 2021 a las 16:43:53 UTC-4, adsapi escribió:

> Hi Rodolfo,
>
> Thank you for reaching out to Google Ads API with your Python Client 
> Library issue with upload_offline_conversion.py. For us to assist you we 
> will need the request and response log of API communications that you can set 
> the library to produce when setting logging to "DEBUG" 
> <https://developers.google.com/google-ads/api/docs/client-libs/python/logging>.
>  
> The result of the logging appears similar to the JSON Mappings in our 
> REST documentation 
> <https://developers.google.com/google-ads/api/rest/design/json-mappings?hl=en>.
>  
> You can send this log privately to us via "Reply to author".
>
> Regards,
>
> [image: Google Logo] 
> Aryeh Baker 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2PHv0c:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/1cc92320-98ff-4e11-af51-02b68dbf39edn%40googlegroups.com.
  • Wh... Rodolfo Ortega
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Rodolfo Ortega
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... Rodolfo Ortega

Reply via email to