Run the code here . It is necessary to send the execute method update.
[{"ad_id":1234567,"cpc":13.255},{"ad_id":1234568,"cpc":0},{"ad_id":1234569,"cpc":12.155}] This does not work:
return API.ads.updateAds({"account_id":123456789", "data":{"ad_id":1234567,"cpc":3}, {"ad_id":1234568,"cpc":5}});
"ad_id":хххххххdoes not work becausexxxxxxstring but not a number .... and the lines are written in quotes - Alexey ShimanskyТак не работает:- when something does not work, they usually write what they get at the output, for example, a result or an error with a description ............. You canВыполнить код можно тут.- I’m afraid this particular code withupdate.Adstoo specific for everyone to execute it)) ... but we need output , anyway - Alexey Shimansky