AddConversionGoalsResponse Error Missing ConversionGoalIds

Joe Lam 1 Reputation point
2021-07-21T22:59:07.83+00:00

Hi all,

When a AddConversionGoalsResponse contains PartialErrors, the ConversionGoalIds node is a list of null

For example,

<s:Body>
    <AddConversionGoalsResponse xmlns="https://bingads.microsoft.com/CampaignManagement/v13">
      <ConversionGoalIds xmlns:a="http://schemas.datacontract.org/2004/07/System" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <a:long i:nil="true"/>
        <a:long i:nil="true"/>
        <a:long i:nil="true"/>
        <a:long i:nil="true"/>
      </ConversionGoalIds>
      <PartialErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <BatchError>
          <Code>5317</Code>

Without the array of existing ConversionGoalIds, we are able to execute another request to update them with UpdateConversionGoals.

Any help is greatly appreciated.

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.
402 questions
0 comments No comments
{count} votes