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
On Monday, May 5, 2014 6:49:11 PM UTC-7, Meelap Shah wrote:
>
> 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"
> }
>
>
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.