Michel + Pablo:

Here's what you do:

Via the API, look at the Customer object for the CID you're attempting to 
upload the ConversionAction for.

crossAccountConversionTrackingId = 
getCustomer().getConversionTrackingSetting().getCrossAccountConversionTrackingId()

Now iterate through the Customer objects of other CIDs in your MCC and 
match crossAccountConversionTrackingId value 
with getCustomer().getConversionTrackingSetting().getConversionTrackingId()

The CID of the Customer that matches the above is the CID that you want to 
use as your "mccId" in 
conversionUploadServiceClient.uploadClickConversions( mccId, 
listOfClickConversions, true, false);

Hope this helps
Pete

On Wednesday, July 22, 2020 at 3:32:02 AM UTC-4, Michel Baretti wrote:
>
> Hi Xiaoming,
>
> Again, I take the number from de URL, and use the service 
> conversionActionServiceClient.getConversionAction and works. It's returns 
> the conversion action. There isn't the conversion action id who the Google 
> Ads API requires in the Google Ads account -> TOOLS & SETTINGS -> 
> Conversion.
> My problem is the error "This customer does not have an import conversion 
> action that matches the conversion action provided., at 
> conversions[0].conversion_action"
>
> I am using java library 
> ConversionUploadServiceClient conversionUploadServiceClient = ...
> conversionUploadServiceClient.uploadClickConversions( mccId, 
> listOfClickConversions, true, false);
>
> I tried sent with the mccId and the object ClickConversion with the 
> customerId and didn't work.
> I tried the same that Pablo, all the combinations and didn't work.
>
> Thanks
> MIchel.
>
>
>
> El martes, 21 de julio de 2020 a las 21:02:17 UTC+2, adsapiforumadvisor 
> escribió:
>
>> Hi Michel,
>>
>> Thank you for reaching out. If you are not able to find the action 
>> conversion id, you could log into your customer account and navigate to the 
>> TOOLS & SETTINGS -> Conversions, then you can find the existing conversion 
>> actions and their ids in your account under the Conversion action tab. 
>>
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>>  
>>
>> ref:_00D1U1174p._5004Q217n6H: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 [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 
"AdWords API and Google Ads 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/d7f0ba82-0990-4955-9746-1d93c17dd987o%40googlegroups.com.

Reply via email to