BingAds: The offline conversion adjustment type is invalid

Tech Webravo 1 Reputation point
2022-08-16T07:11:16.403+00:00

Hi,

I am using Bing Ads API and when I try to perform an OfflineConversionAdjustment I receive the error "The offline conversion adjustment type is invalid" even if I use values defined in documentation.

This is my body example:

<soap:Body>  
	<ApplyOfflineConversionAdjustmentsRequest  
		xmlns="https://bingads.microsoft.com/CampaignManagement/v13">  
		<OfflineConversionAdjustments>  
			<OfflineConversionAdjustment>  
				<AdjustmentCurrencyCode>EUR</AdjustmentCurrencyCode>  
				<ConversionName>Sales Test</ConversionName>  
				<AdjustmentType>Restate</AdjustmentType>  
				<AdjustmentTime>2022-08-16T06:54:59.027Z</AdjustmentTime>  
				<ConversionTime>2022-08-09T08:00:00.000Z</ConversionTime>  
				<AdjustmentValue>2</AdjustmentValue>  
				<MicrosoftClickId>**********</MicrosoftClickId>  
			</OfflineConversionAdjustment>  
			<OfflineConversionAdjustment>  
				<AdjustmentCurrencyCode>EUR</AdjustmentCurrencyCode>  
				<ConversionName>Sales Test</ConversionName>  
				<AdjustmentType>Retract</AdjustmentType>  
				<AdjustmentTime>2022-08-16T06:54:59.027Z</AdjustmentTime>  
				<ConversionTime>2022-08-09T09:00:00.000Z</ConversionTime>  
				<MicrosoftClickId>**********</MicrosoftClickId>  
			</OfflineConversionAdjustment>  
		</OfflineConversionAdjustments>  
	</ApplyOfflineConversionAdjustmentsRequest>  
</soap:Body>  

This is the body of what I get

<s:Body>  
<ApplyOfflineConversionAdjustmentsResponse  
xmlns="https://bingads.microsoft.com/CampaignManagement/v13">  
<PartialErrors  
	xmlns:i="http://www.w3.org/2001/XMLSchema-instance">  
	<BatchError>  
		<Code>5618</Code>  
		<Details i:nil="true"/>  
		<ErrorCode>OfflineConversionInvalidAdjustmentType</ErrorCode>  
		<FieldPath i:nil="true"/>  
		<ForwardCompatibilityMap i:nil="true"  
			xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/>  
			<Index>0</Index>  
			<Message>The offline conversion adjustment type is invalid</Message>  
			<Type>BatchError</Type>  
		</BatchError>  
		<BatchError>  
			<Code>5618</Code>  
			<Details i:nil="true"/>  
			<ErrorCode>OfflineConversionInvalidAdjustmentType</ErrorCode>  
			<FieldPath i:nil="true"/>  
			<ForwardCompatibilityMap i:nil="true"  
				xmlns:a="http://schemas.datacontract.org/2004/07/System.Collections.Generic"/>  
				<Index>1</Index>  
				<Message>The offline conversion adjustment type is invalid</Message>  
				<Type>BatchError</Type>  
			</BatchError>  
		</PartialErrors>  
	</ApplyOfflineConversionAdjustmentsResponse>  
</s:Body>  

For AdjustmentType I use Retract or Restate as I found in documentation:
https://learn.microsoft.com/en-us/advertising/campaign-management-service/offlineconversionadjustment?view=bingads-13#adjustmenttype
https://learn.microsoft.com/en-us/advertising/bulk-service/offline-conversion?view=bingads-13#adjustmenttype

I tryed to transform the string to uppercase, lowercase too but I didn't work.

How can I solve this? Can you help me, please?

Thank you

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
274 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tech Webravo 1 Reputation point
    2022-08-18T14:01:27.563+00:00

    I tried in many way. I think it is an API bug.

    Is there any way to tell that to the API developers so they can fix it?

  2. jack ben 1 Reputation point
    2022-09-01T08:10:58.77+00:00

    For my juice wrld shop, I want to start running Microsoft advertisements. So, if you could, assist me.