Update Platform Bid Multipliers
Description
Update platform bid multipliers for a campaign using this method.
URL: PUT/api/v1/multipliers/platform
Request Parameters
Parameter | Notes | Type | Required | Possible Values |
---|---|---|---|---|
campaignId | ID of the campaign | integer | Y | Unique numeric identifier |
platformType | Type of the platform | string | Y | Values are: Desktop, Mobile, App |
multiplier | % Value by which original bid is modified | double | N | Value 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 PUT\
'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": 100.0 }'
Response
Element | Description | Type |
---|---|---|
code | The response code can have following values: success, failure | string |
details | Details of the error if value of response code is failure | string |
platformMultiplierId | ID of the platform multiplier | integer |
Sample Response
[ { "code": "success", "details": "", "platformMultiplierId": 1001 }, { "code": "failure", "details": " The platform bid% cannot be less than 0 / Invalid platform type found", "platformMultiplierId": 0 }
]
Updated about 2 months ago