Hi!
When submitting a proposal via API the submit request fails regardless the requestPlatformTargeting setting used for the item.
Please check on the the 4 cases exposed below.
Is this the expected behaviour? Please your help to understand what are we doing wrong?
*** CASE 1 ***In request: Setting just 1 of the any of the available requestedPlatforms
<requestPlatformTargeting>
<targetedRequestPlatforms>VIDEO_PLAYER</targetedRequestPlatforms>
</requestPlatformTargeting>In response: ServerError
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[ServerError.SERVER_ERROR @ ]</faultstring>
<detail>
<ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202202">
<message>[ServerError.SERVER_ERROR @ ]</message>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServerError">
<fieldPath/>
<trigger/>
<errorString>ServerError.SERVER_ERROR</errorString>
<reason>SERVER_ERROR</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>*** CASE 2 ***In request: Setting 2 or more requestedPlatforms
<requestPlatformTargeting>
<targetedRequestPlatforms>BROWSER</targetedRequestPlatforms>
<targetedRequestPlatforms>VIDEO_PLAYER</targetedRequestPlatforms>
</requestPlatformTargeting>In response: TOO_LARGE error
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[RequiredCollectionError.TOO_LARGE @ [0].targeting.requestPlatformTargeting]</faultstring>
<detail>
<ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202205">
<message>[RequiredCollectionError.TOO_LARGE @ [0].targeting.requestPlatformTargeting]</message>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RequiredCollectionError">
<fieldPath>[0].targeting.requestPlatformTargeting</fieldPath>
<fieldPathElements>
<index>0</index>
</fieldPathElements>
<fieldPathElements>
<field>targeting</field>
</fieldPathElements>
<fieldPathElements>
<field>requestPlatformTargeting</field>
</fieldPathElements>
<trigger/>
<errorString>RequiredCollectionError.TOO_LARGE</errorString>
<reason>TOO_LARGE</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>*** CASE 3 ***In request: Setting an empty array
<requestPlatformTargeting/>In response: TOO_SMALL error
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[RequiredCollectionError.TOO_SMALL @ [0].targeting.requestPlatformTargeting]</faultstring>
<detail>
<ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202205">
<message>[RequiredCollectionError.TOO_SMALL @ [0].targeting.requestPlatformTargeting]</message>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RequiredCollectionError">
<fieldPath>[0].targeting.requestPlatformTargeting</fieldPath>
<fieldPathElements>
<index>0</index>
</fieldPathElements>
<fieldPathElements>
<field>targeting</field>
</fieldPathElements>
<fieldPathElements>
<field>requestPlatformTargeting</field>
</fieldPathElements>
<trigger/>
<errorString>RequiredCollectionError.TOO_SMALL</errorString>
<reason>TOO_SMALL</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>*** CASE 4 ***In request: Not setting requestPlatformTargeting at all
In response: NotNullError error
<soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>[NotNullError.NULL @ [0].targeting.requestPlatformTargeting]</faultstring>
<detail>
<ApiExceptionFault xmlns="https://www.google.com/apis/ads/publisher/v202205">
<message>[NotNullError.NULL @ [0].targeting.requestPlatformTargeting]</message>
<errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="NotNullError">
<fieldPath>[0].targeting.requestPlatformTargeting</ fieldPath>
<fieldPathElements>
<index>0</index>
</fieldPathElements>
<fieldPathElements>
<field>targeting</field>
</fieldPathElements>
<fieldPathElements>
<field>requestPlatformTargeting</field>
</fieldPathElements>
<trigger/>
<errorString>NotNullError.NULL</errorString>
<reason>NULL</reason>
</errors>
</ApiExceptionFault>
</detail>
</soap:Fault>