Hey, everyone,
I figured out why conversion uploading failed. We have a MCC account (the
customer_id is 5804984872) and a lot of SUB accounts (for example
8845970027).

In V6, we uploaded click conversions using below code, the account_id is
8845970027

service = ads_client.get_service('ConversionUploadService')
> service.upload_click_conversions(account_id, operations,
> partial_failure=True)


After we migrated to V8, the conversion uploading code changed (See below).
Here, we have to set customer_id as MCC account which is 5804984872 instead
of sub account id like 8845970027.

service = ads_client.get_service('ConversionUploadService')
> request = ads_client.get_type("UploadClickConversionsRequest")
> request.customer_id = '5804984872'
> request.conversions = operations
> request.partial_failure = True
> service.upload_click_conversions(request=request)


I am still wondering if the change will have any impact besides conversion
uploading?  Will the conversion be attributed to the right account or not?

On Thu, Jul 15, 2021 at 10:44 AM Yang Qi <yang...@airbnb.com> wrote:

> I don't think so. We used to upload conversions through V6.
> Everything works fine. Now we upgraded to V8 and we met this problem. Could
> I know what will trigger the problem you mentioned when upgrading to V8?
>
> On Wed, Jul 14, 2021 at 10:30 PM Google Ads API Forum Advisor
> <adsapi@forumsupport.google> wrote:
>
>> Hello,
>>
>> Thank you for reaching out to us.
>>
>> As for the error you've encountered, could you confirm if have
>> implemented cross-account conversion tracking and uploading the conversions
>> to the appropriate account? If yes, could you try again following this
>> guide
>> <https://developers.google.com/google-ads/api/docs/conversions/overview#cross-account_conversion_tracking>?
>> If the issue still exists, please send us again the complete logs (
>> request
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>>  and response
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>>  with request-id
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>)
>> generated via the *Reply privately to author* option. If this option is
>> not available, you may send the details directly to our 
>> *googleadsapi-supp...@google.com
>> <googleadsapi-supp...@google.com>* alias instead.
>>
>> As an aside, I will be deleting your initial post as it contains your
>> request/response details. Moving forward, please refrain from posting API
>> logs in forum thread. Below is a copy of your post with the redacted
>> details.
>>
>>
>>
>>
>> *"Hey, team, I am trying upload click conversion through V8 API. Below
>> are my request and response. Could you help to take a look. Thanks!
>> [2021-07-14T06:41:01Z][27680][INFO] Request made: ClientCustomerId:
>> 8845970027, Host: **googleads.googleapis.com*
>> <https://googleads.googleapis.com/>
>>
>> *, Method:
>> /google.ads.googleads.v8.services.ConversionUploadService/UploadClickConversions,
>> RequestId: _XXXXXXXXXXX, IsFault: False, FaultMessage: None
>> partial_failure_error {*
>>
>> * code: 3*
>>
>> * message: "The click or call is owned by a customer account that the
>> uploading customer does not manage., at conversions[0].gclid"*
>>
>> * details {*
>>
>> *  type_url: "*
>> *type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure*
>> <https://type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure>
>> *"*
>>
>> *  value: "\n\337\001\n\003\370\006\010\022]The click or call is owned by
>> a customer account that the uploading customer does not manage.\032]*XXXXX"*
>>
>> * }*
>>
>> *}*
>>
>> *results {*
>>
>> *}*"
>>
>> Regards,
>> [image: Google Logo]
>> Mark Kevin Albios
>> Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5004Q2Kc7GQ: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 a topic in the
>> Google Groups "AdWords API and Google Ads API Forum" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/adwords-api/ZHUOXD-jcic/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/LZL9Y000000000000000000000000000000000000000000000QW9TY500Wu6lrYIbSPq-1oqyorVDQw%40sfdc.net
>> <https://groups.google.com/d/msgid/adwords-api/LZL9Y000000000000000000000000000000000000000000000QW9TY500Wu6lrYIbSPq-1oqyorVDQw%40sfdc.net?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> --Yang
>


-- 
--Yang

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/CAKde9CSBeMxynv7XTUt3jqywjvM%3DcE66R7bbxBg%2Bs2D3_ETHqg%40mail.gmail.com.

Reply via email to