Developers » API methods » Ads API » ads.getUploadURL
Ads APIads.getUploadURL
Returns URL to upload an ad photo to.
This method can be called with a user token. Access rights required: ads.
Parameters
ad_formatAd format:
  • 1 image and text;
  • 2 big image;
  • 3 exclusive format;
  • 4 community or app, square image;
  • 5 application in newsfeed (deprecated);
  • 6 mobile application;
  • 9 community post;
int (number)
icon
int (number)
Result
Returns URL to upload a photo to.
Errors
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.59
Images sizes requeriments for advertisments has been updated. See this page for a further information.