INVALID_CONVERSION_TYPE when conversion name exists

812 views
Skip to first unread message

Meelap Shah

unread,
May 5, 2014, 9:49:11 PM5/5/14
to adwor...@googlegroups.com
I have been uploading offline conversions successfully for a few months, but it
has stopped working within the past week (I am using the same code). I now see
INVALID_CONVERSION_TYPE errors which means that there is no conversion with the
specified name (according to the docs https://developers.google.com/adwords/api/docs/reference/v201402/OfflineConversionFeedService#OfflineConversionError).
However, I can see that the conversion type that I named does exist. Am I
mis-interpreting the error message, or is there another reason why I would be
seeing this?

Here is some sample code illustrated what I am seeing:

python> ac = googleads.AdwordsClient(...)
python> ac.GetService('OfflineConversionFeedService', version='v201402').mutate([
  {'operator': 'ADD',
    'operand': {'googleClickId': u'abc...',
                'conversionValue': 1.0,
                'conversionTime': '20140503 190731 Etc/GMT',
                'conversionName': u'My Conversion Type'}}]).partialFailureErrors

(OfflineConversionError){
  fieldPath = "operations[0].operand"
  trigger = None
  errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
  ApiError.Type = "OfflineConversionError"
  reason = "INVALID_CONVERSION_TYPE"
}

python> ac.GetService('ConversionTrackerService', version='v201402').get(
  {'fields': ['Id'
              'Name'
              'Status'
              'Category'
              'NumConversionEvents'
              'NumConvertedClicks'
              'MostRecentConversionDate'
              'CountingType']}).entities

...
(UploadConversion){
   id = NNN
   name = "My Conversion Type"
   status = "ENABLED"
   category = "LEAD"
   stats =
      (ConversionTrackerStats){
         numConversionEvents = NNN
         conversionValue =
            (Money){
               ComparableValue.Type = "Money"
               microAmount = 0
            }
         mostRecentConversionDate = "20140503"
         numConvertedClicks = NNN
      }
   countingType = "MANY_PER_CLICK"
   defaultRevenueValue = 1.0
   alwaysUseDefaultRevenueValue = False
   ConversionTracker.Type = "UploadConversion"
 }

Ray Tsang (AdWords API Team)

unread,
May 6, 2014, 12:03:33 PM5/6/14
to adwor...@googlegroups.com
Meelap,

Could I trouble you to send me the full request/response xml log (not code) by using the reply to author function?

Thanks,

Ray

Ray Tsang (AdWords API Team)

unread,
May 6, 2014, 3:07:01 PM5/6/14
to adwor...@googlegroups.com
Meelap,

It appears that you have used the MCC client ID in the header.  Please make sure it's using an AW Account CID that actually owns the conversion tracker.

Thanks,

Ray

su...@fb.com

unread,
May 6, 2014, 9:02:54 PM5/6/14
to adwor...@googlegroups.com
I have same issue where my offline conversion job was working fine for last 2 month and starting to giving me the same partialfailure issue for almost every conversion uploads today.
I used the MCC client ID in the header, and it use to work fine since the actual CID was managed by the MCC client ID.

Is this changing so we have to use actual CID instead of MCC which manages several CIDs for offline conversion upload?


---- example code ----
mcc_client = adspygoogle.AdWordsClient(headers={
 'developerToken': '..................',
 'clientCustomerId': '[THE MCC]',
 'userAgent': 'Facebook Adword Reports',
 'oauth2credentials': credentials,
 'partialFailure': 'true'})

offline_service =mcc_client.GetOfflineConversionFeedService(version='v201309')

feed = {
 'conversionName': 'the conv name from the adwords site',
 'conversionTime': '20140506 075949 America/Los_Angeles',
 'conversionValue': '1',
 'googleClickId': 'CI--tuHhlL4CFdQWjgod2WUAUQ',
}
offline_conversion_operation = {
 'operator': 'ADD',
 'operand': feed
}
op = []
op.append (offline_conversion_operation)
re = offline_service.mutate(op);
--- error msg ---
({'ListReturnValue_Type': 'OfflineConversionFeedReturnValue', 'partialFailureErrors': [{'fieldPath': 'operations[0].operand', 'reason': 'INVALID_CONVERSION_TYPE', 'trigger': '', 'ApiError_Type': 'OfflineConversionError', 'errorString': 'OfflineConversionError.INVALID_CONVERSION_TYPE'}], 'value': []},)
-----------------------

Thanks,
-Sung

su...@fb.com

unread,
May 6, 2014, 9:11:48 PM5/6/14
to adwor...@googlegroups.com
Hello Ray,

I am experiencing same issue where almost every conversion uploads from offline conversion is failing with the same partialfailure error, invalid_conversions_type.
From the header, I am using the MCC to upload them and they use to work fine until yesterday.
However, you mentioned that we actually need to use the actual CIDs instead of MCC which manages multiple CIDs.
Is this mean there is a change in offline conversion logic so we now have to use actual CIDs instead of one master MCC for offline conversion uploads?

= Heres the code =
offline_service =mcc_client.GetOfflineConversionFeedService(version='v201309')
feed = {
 'conversionName': '[the conv]',
 'conversionTime': '20140506 075949 America/Los_Angeles',
 'conversionValue': '1',
 'googleClickId': 'CI--tuHhlL4CFdQWjgod2WUAUQ',
}
offline_conversion_operation = {
 'operator': 'ADD',
 'operand': feed
}
op = []
op.append (offline_conversion_operation)
re = offline_service.mutate(op);
= error msg = 
({'ListReturnValue_Type': 'OfflineConversionFeedReturnValue', 'partialFailureErrors': [{'fieldPath': 'operations[0].operand', 'reason': 'INVALID_CONVERSION_TYPE', 'trigger': '', 'ApiError_Type': 'OfflineConversionError', 'errorString': 'OfflineConversionError.INVALID_CONVERSION_TYPE'}], 'value': []},)

Thanks,
-Sung

Ray Tsang (AdWords API Team)

unread,
May 7, 2014, 2:33:17 PM5/7/14
to adwor...@googlegroups.com
Meelap,

Please recreate the conversion tracker using a real AdWords CID.  Please send me the full request/response in private where you were able to create conversion tracker for a MCC.

Thanks,

Ray

Ray Tsang (AdWords API Team)

unread,
May 7, 2014, 2:34:34 PM5/7/14
to adwor...@googlegroups.com
Sung,

I'll look into this.

What is youor MCC CID?

Thanks,

Ray Tsang (AdWords API Team)

unread,
May 8, 2014, 10:43:28 AM5/8/14
to adwor...@googlegroups.com
Meelap and Sung - I'll look into this issue a bit more.  It sounds like this functionality used to work but it is no longer working.

Thanks,

su...@fb.com

unread,
May 8, 2014, 3:51:08 PM5/8/14
to adwor...@googlegroups.com
Ray,

468-535-2180 is the MCC CID.

-Sung

su...@fb.com

unread,
May 8, 2014, 6:10:27 PM5/8/14
to adwor...@googlegroups.com
Today, only about 10 percent of conversions were uploaded.
Here is the copy of adwords api log

==130115 Uploads attempted==

==10.5937055682% >= 1784 uploaded, 116331 failed==

==All Uploads are Completed. Time taken : 2:08:37.573687==

Can we escalate this issue, since I am not able to upload conversions anymore?
Also, should I just update my logic so it will use actual CIDs on header to upload conversions?
If we need to use actual CIDs for uploading conversions, we have to create multiple AdWordsClient instances for multiple customers.

Please let us know whether this is an issue or change in logic.
If it is an issue, please let us know what's the current status of the issue and timeline for fixing the issue.

Thanks,
-Sung

Simone Frattegiani

unread,
May 9, 2014, 3:55:13 AM5/9/14
to adwor...@googlegroups.com
I'm having the same problem too!
My code has been working for months, and a few days ago i started getting "Invalid conversion type" errors on all my offline conversions.
Uploading through CSV gives the very same error.

I have defined my conversion type at the MCC level.

Ray Tsang (AdWords API Team)

unread,
May 9, 2014, 3:08:48 PM5/9/14
to adwor...@googlegroups.com
Hi guys - I'm looking into the issues.

Question for all - are you all getting 100% failures, or with percentage of failures like Sung?

Thanks,

su...@fb.com

unread,
May 9, 2014, 3:22:34 PM5/9/14
to adwor...@googlegroups.com
Hello Ray,

I seen this issue being transient issue which started around May 1, and retries would fix this issue.
However starting from May 5, retries would not fix the issue anymore.

Thanks,

Meelap Shah

unread,
May 9, 2014, 3:26:00 PM5/9/14
to adwor...@googlegroups.com
I'm seeing the same behavior as Sung.

Ray Tsang (AdWords API Team)

unread,
May 9, 2014, 4:55:07 PM5/9/14
to adwor...@googlegroups.com
Hi all,

We are working on this.  Thanks for reporting the issue and providing detailed information.

Cheers,

Ray

Simone Frattegiani

unread,
May 9, 2014, 5:03:03 PM5/9/14
to adwor...@googlegroups.com
it started with just some errors, then it got worse. 
On my last upload (7th May), 100% of the conversions were rejected.

Simone Frattegiani

unread,
May 10, 2014, 5:01:37 AM5/10/14
to adwor...@googlegroups.com
BTW, tonight's cronjob was pretty succesful.

Ray Tsang (AdWords API Team)

unread,
May 10, 2014, 10:58:58 AM5/10/14
to adwor...@googlegroups.com
Hi all,

Please retry the failed uploads.

Cheers!

Ray

Meelap Shah

unread,
May 10, 2014, 12:27:18 PM5/10/14
to adwor...@googlegroups.com
Things are working again now - thanks!

Simone Frattegiani

unread,
May 10, 2014, 1:19:23 PM5/10/14
to adwor...@googlegroups.com
They seem to be working, although i couldn't upload yesterday and today's conversions because of a [RateExceededError <rateName=BillingPerDay, rateKey=level1_plan, rateScope=DEVELOPER, retryAfterSeconds=86400>]

Ray Tsang

unread,
May 12, 2014, 10:07:12 AM5/12/14
to adwor...@googlegroups.com
Simone,

The rate limit may be a separate issue.  Please send me a full request/response log in private (using the reply to author feature).

Thanks!

Ray,

2546...@qq.com

unread,
Jun 2, 2014, 10:05:47 PM6/2/14
to adwor...@googlegroups.com, satu...@gmail.com
Hi Ray
I want to know whether the problem appeared again

Josh Radcliff (AdWords API Team)

unread,
Jun 3, 2014, 12:44:24 PM6/3/14
to adwor...@googlegroups.com, satu...@gmail.com
Hi,

I'm not seeing a significant change in the frequency of these errors, but if you have an example that's failing that you expect to succeed, please send the request/response logs and customer ID only to me by clicking Reply to Author and I'll investigate.

Thanks,
Josh, AdWords API Team

2546...@qq.com

unread,
Jun 5, 2014, 1:15:51 AM6/5/14
to adwor...@googlegroups.com, satu...@gmail.com
Hi Josh,

thank you for your reply.when i specify the adwords accounts instead of the MCC account.It's successful.
thank you!
Reply all
Reply to author
Forward
0 new messages