Marketing API Version 1.21.1

This release adds a new filter option to the getCampaigns method, as well as various new error codes relating to smart targeting campaigns for createCampaign and updateBiddingStrategy.

Added new filter to getCampaigns

The optional campaign_targeting_types filter has been added to the getCampaigns method. This new query parameter allows users to filter their results by campaign targeting type, such as only returning smart targeting campaigns.

New error codes

The following error code has been added to getCampaigns:

Error Code | Description
35123 | The 'campaignTargetingType' is not valid. Valid values for 'campaignTargetingType' are: {campaignTargetingTypeValues}.

The following error codes have been added to createCampaign and updateBiddingStrategy:

Error Code | Description
35125 | The 'bidPreferences' list currently supports only one element. Please remove additional elements and try again.
35134 | A 'biddingStrategy' cannot be supplied for smart targeting campaigns. Please either remove 'biddingStrategy' from the request to create a smart targeting campaign or supply another value for 'campaignTargetingType'.
36161 | Smart targeting campaigns require a 'bidPreferences.maxCpc' value.
36162 | The 'maxCpc' currency should be the same as the daily budget.
36163 | The 'maxCpc' value {maxCpcValue} is below minimum value {maxCpcMinimumValue}.
36164 | The 'maxCpc' value {maxCpcValue} is above maximum value {maxCpcMaximumValue}.
36165 | The 'maxCpc' value {maxCpcValue} is more than maximum daily budget {maxDailyBudget}.
36166 | The 'maxCpc' value {maxCpcValue} is invalid. Refer to the API call documentation for more information.