Google ADS - Unable to upload offline conversions. Please help!

531 views
Skip to first unread message

Jefferson Cechinel

unread,
Jan 4, 2022, 11:32:54 PM1/4/22
to adwor...@googlegroups.com
Hello everyone!

I'm migrating a PHP application from Adwords API to Google ADS API and I'm facing a partial failure message when trying to upload offline conversions.

"This customer does not have an import conversion action that matches the conversion action provided."

The accounts structure looks like this:

google-ads-accounts-structure.jpeg


CONSIDERATIONS:
 - The conversions are not managed by the Master MCC account, all sub-accounts manage their own conversions.
 - Using the Master MCC account credentials allows me to manage all the sub-accounts as expected, except upload offline conversions.
 - The implementation is in PHP (googleads/google-ads-php v10.0.0)
 - I don't have this issue using Adwords.

Unlike Adwords, Google ADS requires setting the conversion action id of the respective conversion so I'm obtaining it with GAQL and it seems right. I compared the obtained conversion_action.id with the id that appears in(Conversions -> Lead) URL's param ctId=CONVERSION-ACTION-ID and I can confirm they do match.

Below is an example of how the ClickConversion object is being created.

$conversion = new ClickConversion();
$conversion->setConversionAction('customers/{SUB-ACCOUNT-ID}/conversionActions/{CONVERSION-ACTION-ID}');
$conversion->setConversionDateTime('2021-12-08 20:30:40-05:00');
$conversion->setGclid('REDACTED');
$conversion->setConversionValue(0);
$service->uploadClickConversions('SUB-ACCOUNT-ID', [$conversion], true);

I also tried to upload using the MASTER-MCC-ID as customerId and many other ids combinations but the same error occurs.

Can someone help me? Any advice would help!

Thank you!

Google Ads API Forum Advisor

unread,
Jan 5, 2022, 1:35:32 AM1/5/22
to jeff...@febacapital.com, adwor...@googlegroups.com

Hi Jefferson,

Thanks for reaching out to us.

Does the GCLID in your request belong to the MCC account or other client Id that you put in your API request? Kindly note that when you want to upload a click conversion on an MCC account, you would need to enable cross-account conversion tracking for it. You may follow this guide to configure it and to be able to upload conversion via API on the MCC account using the GCLIDs generated at client accounts. If you can't configure the cross-account conversion tracking, then you will need to upload the conversions to the client accounts where GCLIDs are generated, and to know which accounts the specific GCLIDs belong to, you can use the click_view report.

Should you persist with the error, you may provide us with the complete request and response logs with request ID generated on your end, so our team can take a closer look. For the PHP client library, logging can be enabled by the guide provided in this link. You may send to us via the Reply privately to author option. 

Regards,

Google Logo
Yasar
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Ugb3N:ref
Reply all
Reply to author
Forward
0 new messages