Create Platform Bid Multipliers

Description

Create platform bid multipliers for a campaign using this method.

URL: ​POST/api/v1/multipliers/platform

Request Parameters

ParameterNotesTypeRequired Possible Values
campaignId  ID of the campaignintegerYUnique numeric identifier
platformType  Type of the platform  stringYValues are: Desktop, Mobile, App  
multiplier% Value by which original bid is modifieddoubleNValue of multiplier
Note: For TROAS campaigns, we do not support placement bid multipliers. If multiplier is passed, this will be ignored by the system.

Sample Request

curl -X POST\ 'https://developer.api.stg.walmart.com/api-proxy/service/WPA/Api/v1/api/v1/multipliers/platform' \ --header 'Authorization: Bearer <auth_token>' \ --header 'WM_SEC.AUTH_SIGNATURE: ***********' \ --header 'WM_SEC.KEY_VERSION: 1' \  --header 'WM_CONSUMER.ID: adfwe-v23-faasd2r-afs-asdfqeff' \ --header 'WM_CONSUMER.intimestamp: 1565309779' \ --header 'accept: application/json' \ --data '{ "campaignId": 600001, "platformType": "Desktop", "multiplier": 300.0 }'

Response

Element DescriptionType
codeThe response code can have following values: successfailurestring
detailsDetails of the error if value of response code is failurestring
platformMultiplierIdID of the platform multiplierinteger

Sample Response

[ { "code": "success", "details": "", "platformMultiplierId": 1001 }, { "code": "failure", "details": "The platform bid cannot be less than 0. Invalid platform type found”, "platformMultiplierId": 0 }
]