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.