ads

ads.checkLink

Allows to check the ad link.

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

account_id

integer

advertising account ID.

Required parameter

link_type

string

object type:

  • •
    community — community;
  • •
    post — community post;
  • •
    application — VK application;
  • •
    video — video;
  • •
    site — external site.

Required parameter

link_url

string

object URL.

Required parameter

campaign_id

integer

campaign ID

Result

Returns the object with following fields:

  • •
    status — link status:
    • •
      allowed — allowed to use in ads;
    • •
      disallowed — phohibited to use for this type of the object;
    • •
      in_progress — checking, wait please.
  • •
    description (if status = disallowed) — description of the reason;
  • •
    redirect_url (if the end link differs from original and status = allowed) — end link.

Error codes

Common errors may occur during execution