python api of google adwords(googleads) is giving "INVALID_CONVERSION_TYPE" when calling the OfflineConversionAdjustmentFeed operation

28 views
Skip to first unread message

DAHMANE NOUREDDINE

unread,
Aug 7, 2019, 8:59:29 AM8/7/19
to AdWords API and Google Ads API Forum
I am using googleads API  to perform the following operations:
- (1) upload new conversions
- (2) adjust uploaded conversions

the first operation  could be done successfuly.
however the second opeartion which is the adjustment of the uploaded conversion is giving the error "INVALID_CONVERSION_TYPE".

the reason for this error is that the conversion name does not match any uploaded convesion for the same customer, 
although i have uploaded the conversion with the same conversion name for the same customer.

I am posting my request and the response i am receiving:

``` request=[{
    'operator': 'ADD',
    'operand':
        {
            'adjustmentTime': '20190802 235959 Etc/GMT',
            'googleClickId': 'gcliID',
            'adjustedValueCurrencyCode': 'EUR',
            'conversionName': 'YY',
            'adjustedValue': xx,
            'xsi_type': 'GclidOfflineConversionAdjustmentFeed',
            'conversionTime': '20190731 235959 Etc/GMT',
            'adjustmentType': 'RESTATE'
        }
}
]
```

````
    'ListReturnValue.Type': 'OfflineConversionAdjustmentFeedReturnValue',
    'value': [
        {
            'conversionName': None,
            'adjustmentTime': None,
            'adjustmentType': None,
            'adjustedValue': None,
            'adjustedValueCurrencyCode': None,
            'OfflineConversionAdjustmentFeed.Type': 'GclidOfflineConversionAdjustmentFeed',
            'googleClickId': None,
            'conversionTime': None
        }
    ],
    'partialFailureErrors': [
        {
            'fieldPath': 'operations[0].operand.conversionName',
            'fieldPathElements': [
                {
                    'field': 'operations',
                    'index': 0L
                },
                {
                    'field': 'operand',
                    'index': None
                },
                {
                    'field': 'conversionName',
                    'index': None
                }
            ],
            'trigger': None,
            'errorString': 'OfflineConversionAdjustmentError.INVALID_CONVERSION_TYPE',
            'ApiError.Type': 'OfflineConversionAdjustmentError',
            'reason': 'INVALID_CONVERSION_TYPE'
        }
    ]
}
````

Google Ads API Forum Advisor Prod

unread,
Aug 7, 2019, 1:10:33 PM8/7/19
to adwor...@googlegroups.com, dnoure...@gmail.com
Hello, 

The INVALID_CONVERSION_TYPE error occurs when the conversion name mentioned in the request cannot be found in the account. To take a closer look could you please share the entire SOAP logs (request and response) without redacting any information? You could refer the README.md file to enable logging for Python client library. You can share the details privately via Reply privately to author option.

Regards,
Bharani, Google Ads API Team
 

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