N
N
nvnovikova882017-04-30 14:06:31
In contact with
nvnovikova88, 2017-04-30 14:06:31

How to create hidden posts using vk ads API?

Good afternoon!
Can you tell me how to create hidden community sponsored posts through the ads API?
1) To create an ad, I use the ads.createAds method
2) I select ad_format = 9
3) Next, I create a post using the wall.postAdsStealth method
Question: how to pass the ID of the created post (which is returned by the wall.postAdsStealth method) to createAds?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Lepeshkin, 2017-10-09
@lepeshkin

As the link_url parameter of the createAds method, a link to the advertised object (in this case, a hidden entry) is passed.
The link (as with any post) is formed according to the template: https://vk.com/wall-XXXXXX_YYY
where XXXXXX is the group ID
YYY is the post ID (hidden post ID returned by wall.postAdsStealth)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question