问题描述
我的Facebook应用程序具有批准的ads_read, manage_pages ads_management, business_management and Ads Management Standard Access permissions
.
我可以创建Ad campaign
,ad set
,并可以通过Facebook Marketing API将asset
上传到Facebook.
我使用以下参数创建广告集:
I have the facebook application with approved ads_read, manage_pages ads_management, business_management and Ads Management Standard Access permissions
.
I can create Ad campaign
, ad set
and can upload asset
to Facebook via Facebook Marketing API.
I create ad set with such parameters:
{
name: 'adset_name',
campaign_id: '<campaign_id>',
lifetime_spend_cap: 11000,
promoted_object: {
application_id: '<fb_app_id>',
object_store_url: 'https://itunes.apple.com/app/<my_app>',
page_id: '<page_id>',
},
billing_event: 'IMPRESSIONS',
optimization_goal: 'APP_INSTALLS',
bid_amount: 20000,
targeting: {
age_min: 20,
age_max: 25,
genders: [1],
locales: [6],
user_os: ['iOS_ver_11.0_and_above'],
geo_locations: {
countries: ["US"],
},
excluded_geo_locations: {
countries: ["GB"],
},
publisher_platforms: 'facebook',
facebook_positions: ['feed'],
},
device_platforms: 'mobile',
pacing_type: 'standard',
status: 'PAUSED',
end_time: '2019-07-30 23:59:59-07:00',
};
我使用以下字段创建广告素材:
I create ad creative with such fields:
{
object_type: 'APPLICATION',
status: 'ACTIVE',
name: 'hello',
title: 'foo',
object_story_spec: {
page_id: '<facebook page id associated with app>',
photo_data: {
image_hash: asset_hash,
caption: 'Just image',
},
},
application_id: '<app store app id>',
object_store_url: 'https://itunes.apple.com/app/<my app same as application_id>',
}
问题是,当我尝试使用参数创建广告时
The problem is, when I try to create ad with parameters:
{
name: 'Heyyy',
campaign_id,
adset_id,
creative: {
creative_id,
},
status: 'PAUSED',
}
我遇到错误
如果我查看我的Facebook业务经理->广告经理,会看到已创建的ad set
,它已链接到应用程序,页面和iOS应用程序.
如果我自己创建广告集,而不是脚本来创建广告集,一切都会看起来像.
因此,我很确定ad set
会正确创建.
但是我不知道如何创建ad creative
使其起作用.
我从现在起有2个星期有这个问题,此处是我关于广告素材的问题错误.
P.S.这是我在facebook社区论坛上提出的问题的链接,如果它可以帮助清除这种情况,请链接,链接,链接,链接
If I look to my Facebook business manager -> Ads manager, I see created ad set
which is linked to app, page and iOS application.
Everything looks like if I create ad set by my own, not script.
So, I'm pretty sure that ad set
creates correctly.
But I can't figure out how to create ad creative
to make it work.
I have this problem for 2 weeks from now, and here is my question about ad creative error.
P.S. Here is links to my questions on facebook community forum, if it could help to clear the situation link, link, link, link
推荐答案
8天后,我终于找到了制作方法.
您可以在此链接中找到信息.
现在,我的AD Creative参数看起来像这样:
8 days past, and I finally found out how to make it.
You can find info on this link
And now my AD Creative params looks like this:
{
object_type: 'APPLICATION',
status: 'ACTIVE',
name: 'hello',
title: 'foo',
object_story_spec: {
page_id: '<fb_page_id>',
link_data: {
call_to_action: {
type: 'INSTALL_MOBILE_APP',
value: {
link: 'https://itunes.apple.com/app/<app>',
},
},
image_hash: 'image hash',
link: 'https://itunes.apple.com/app/<app>',
message: 'Message',
},
},
}
这篇关于要求通过Marketing API在Facebook中推广iOS应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!