ads

ads.getUploadURL

Returns URL to upload an ad photo to.

To call this method, you can use:
• user access token (access right required: ads — this is issued in exceptional cases by a request to support at devsupport@corp.vk.com)

Parameters

ad_format

integer

Ad 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;
icon

integer

Result

Returns URL to upload a photo to.

Error codes

Common errors may occur during execution

Linked versions

Go to API versions page

Images sizes requeriments for advertisments has been updated. See this page for a further information.

  • •

    Changes in Method ads.getAds :

    • •

      Return field impressions_limit Replaced by two fields: impressions_limit и impressions_limited .

    • •

      Changed return field ad_platform .

    • •

      Return field disclaimer заменено полями disclaimer_medical , disclaimer_specialist , disclaimer_supplements .

  • •

    Changes in methods ads.createAds и ads.updateAds :

    • •

      Parameter impressions_limit in ad_specification Replaced by two parameters: impressions_limit и impressions_limited .

    • •

      Changed parameter ad_specification.ad_platform .

    • •

      Поле disclaimer in ad_specification Replaced by Fields disclaimer_medical , disclaimer_specialist , disclaimer_supplements .

  • •

    Parameter ad_specification.ad_format method ads.createAds became mandatory.

  • •

    Parameter ad_format method ads.getUploadURL became mandatory.