I have been uploading offline conversions to a conversion type that I have
created, but this has recently stopped working with the error
INVALID_CONVERSION_TYPE.
This is the code I have been using (which has not changed between the time
it has worked until now):
python> ac = googleads.AdwordsClient(...)
python> ac.GetService('OfflineConversionFeedService',
version='v201402').mutate(
[{'operator': 'ADD',
'operand': {'googleClickId': u'abc...',
'conversionValue': 0.1,
'conversionTime': '20140503 000243 Etc/GMT',
'conversionName': u'My Conversion Name'}
}])
(OfflineConversionError){
fieldPath = "operations[0].operand"
trigger = None
errorString = "OfflineConversionError.INVALID_CONVERSION_TYPE"
ApiError.Type = "OfflineConversionError"
reason = "INVALID_CONVERSION_TYPE"
})
The documentation here
(https://developers.google.com/adwords/api/docs/reference/v201402/OfflineConversionFeedService#OfflineConversionError)
suggests that this means there is no conversion type with name 'My
Conversion Name'. Yet when I list conversion types, 'My Conversion Name'
appears to exist:
python> ac.GetService('ConversionTrackerService', version='v201402').get(
{'fields': ['Id',
'Name',
'Status',
'Category',
'NumConversionEvents',
'NumConvertedClicks',
'MostRecentConversionDate',
'CountingType']
})
...
(UploadConversion){
id = NNN
name = "My Conversion Name"
status = "ENABLED"
category = "LEAD"
stats =
(ConversionTrackerStats){
numConversionEvents = NNN
conversionValue =
(Money){
ComparableValue.Type = "Money"
microAmount = 0
}
mostRecentConversionDate = "YYYYMMDD"
numConvertedClicks = NNN
}
countingType = "MANY_PER_CLICK"
defaultRevenueValue = 1.0
alwaysUseDefaultRevenueValue = False
ConversionTracker.Type = "UploadConversion"
},
Am I mis-interpreting the documentation for this error, or are there other
reasons why I might be seeing this?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.