I'm trying to upload an offline conversion. I'm using a manager account to
make the changes (9567076910). The conversion action has an owner_customer
of "customers/6141913992". That's the customer_id I'm using.
Here is the customer.conversion_tracking_setting:
customer {
resource_name: "customers/6141913992"
conversion_tracking_setting {
conversion_tracking_id: 810169330
google_ads_conversion_customer: "customers/6141913992"
}
}
So according
to
https://developers.google.com/google-ads/api/docs/conversions/overview#effective_conversion_account,
the account is not using cross-account conversion tracking, and conversion
tracking is enabled.
# Here's the operation:
conversion = client.get_type("ClickConversion")
conversion.conversion_action =
'customers/6141913992/conversionActions/971368021'
conversion.gclid = '
CjwKCAjwx46TBhBhEiwArA_DjNNPxXwY-SFHyPPRWkaLHJUE_0bsXrRb3hpISdpoJwtYRM3bCW2LhRoCnPAQAvD_BwE'
conversion.conversion_value = 4.2300000000000004
conversion.conversion_date_time = '2022-04-23 10:52:00-07:00'
conversion.currency_code = 'GBP'
# And the upload
conversion_upload_service = client.get_service("ConversionUploadService")
request = client.get_type("UploadClickConversionsRequest")
request.customer_id = '6141913992'
request.conversions.append(conversion)
request.partial_failure = True
conversion_upload_service.upload_click_conversions(request=request)
I'm getting the following error response:
partial_failure_error {
code: 3
message: "The click associated with the given identifier or iOS URL
parameter isn\'t from the account where conversion tracking is set up., at
conversions[0].gclid"
details {
type_url:
"type.googleapis.com/google.ads.googleads.v10.errors.GoogleAdsFailure"
value: "\n\201\002\n\003\370\006\036\022\177The click associated with
the given identifier or iOS URL parameter isn\'t from the account where
conversion tracking is set
up.\032]*[CjwKCAjwx46TBhBhEiwArA_DjNNPxXwY-SFHyPPRWkaLHJUE_0bsXrRb3hpISdpoJwtYRM3bCW2LhRoCnPAQAvD_BwE\"\032\022\017\n\013conversions\030\000\022\007\n\005gclid"
}
}
results {
}
We have another customer with similar settings (using the same manager
account, not using cross-account conversion tracking, conversion tracking
enabled, owner is the same as the account) and it is not seeing similar
issues.
Any suggestions on what I need to look at to address the issue?
Thanks,
Walter
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c92a4c03-ebf0-40d0-9bed-32fe6cea5884n%40googlegroups.com.