*Hello,*
*I am trying to do an upload of an offline conversion. Here is my code in
Python (I have also tried putting conversion_value in micros):*
conversion_action_id = '581686697'
account_id = '7714105941'
click_conversion = client.get_type("ClickConversion")
conversion_action_service = client.get_service("ConversionActionService")
click_conversion.conversion_action = (
conversion_action_service.conversion_action_path(
account_id, conversion_action_id
)
)
click_conversion.gclid =
'CjwKCAiAp8iMBhAqEiwAJb94z3C9MQBX7venZOfMPbBkznD5BxNm8Kbz4BmsKYuS5la2tC0RaTwrHhoCw_gQAvD_BwE'
click_conversion.conversion_value = 1.40
click_conversion.conversion_date_time = '2022-02-09 00:02:36+01:00'
click_conversion.currency_code = 'EUR'
conversion_upload_service = client.get_service("ConversionUploadService")
request = self.client.get_type("UploadClickConversionsRequest")
request.customer_id = '7714105941'
request.conversions = [click_conversion]
request.partial_failure = True
conversion_upload_response = (
conversion_upload_service.upload_click_conversions(
request=request,
)
)
*And this is the result form the API:*
partial_failure_error {
code: 3
message: "The click associated with this Google Click ID is either too
old to be imported or occurred before the conversion click through lookback
window for the specified combination of conversion date and conversion
action (default is 90 days)., at conversions[0].conversion_action"
details {
type_url:
"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure"
value: "\n\320\002\n\003\370\006\005\022\354\001The click associated
with this Google Click ID is either too old to be imported or occurred
before the conversion click through lookback window for the specified
combination of conversion date and conversion action (default is 90
days).\0322*0customers/7714105941/conversionActions/581686697\"&\022\017\n\013conversions\030\000\022\023\n\021conversion_action"
}
}
results {
}
Why is this happening? Am I doing something wrong? Is there another tool to
do this?
In the case that the problem is only about with the clickID, can you
explain it more explicity?
Thank you very much,
Iván
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f679032a-6844-457c-871d-78393b9cca5an%40googlegroups.com.