优化访问量广告中的目标页面访问
本文介绍了创建优化目标为目标页面访问的访问量广告的具体步骤。使用目标页面访问这一优化目标可以将用户引导至应用内页面,或回退到网站。
前提条件
- 优化目标目标页面访问目前为白名单功能。如需使用此功能,请联系您的 TikTok 销售代表。
- 优化目标目标页面访问要求在广告层级设置深度链接。若想了解深度链接的详情,请查看深度链接。
步骤
1. 创建推广系列
使用/campaign/create/接口创建一个推广系列。需确保满足以下要求:
| 设置 | 要求 | 参数 | 如何设置该参数 |
|---|---|---|---|
| 推广目标 | 访问量 | objective_type |
TRAFFIC |
| Smart+ 推广系列 | 未启用 若您想查看推广系列是否启用了 Smart+ 推广系列设置,可使用/campaign/get/返回的 is_smart_performance_campaign字段进行确认。 |
/ |
/ |
| iOS 14专属推广系列 | 未启用 | campaign_type |
设置为REGULAR_CAMPAIGN或不传入 |
app_id |
不传入 | ||
campaign_app_profile_page_state |
不传入 |
示例
请求
(code curl http)
curl --location --request POST 'https://business-api.tiktok.com/open_api/v1.3/campaign/create/' \
--header 'Access-token: {{Access-token}}' \
--header 'Content-Type: application/json' \
--data '{
"advertiser_id": "{{advertiser_id}}",
"objective_type": "TRAFFIC",
"campaign_name": "{{campaign_name}}",
"budget_mode": "BUDGET_MODE_TOTAL",
"budget": {{budget}}
}'
(/code)
返回
(code curl http)
HTTPS/1.1 200 OK
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {
"budget_mode": "BUDGET_MODE_TOTAL",
"is_search_campaign": false,
"is_smart_performance_campaign": false,
"secondary_status": "CAMPAIGN_STATUS_ENABLE",
"objective": "LANDING_PAGE",
"campaign_id": "{{campaign_id}}",
"create_time": "{{create_time}}",
"campaign_type": "REGULAR_CAMPAIGN",
"roas_bid": 0.0,
"is_new_structure": true,
"deep_bid_type": null,
"budget": {{budget}},
"operation_status": "ENABLE",
"modify_time": "{{modify_time}}",
"campaign_name": "{{campaign_name}}",
"objective_type": "TRAFFIC",
"advertiser_id": "{{advertiser_id}}"
}
}
(/code)
2. 创建广告组
使用/adgroup/create/接口创建一个广告组。需确保满足以下要求:
| 设置 {20%}| 要求{25%} | 参数 {25%}| 如何设置该参数 {30%}|
|---|---|---|---|
| 推广对象类型 (优化位置) | 安卓应用或 iOS 应用 | `promotion_type` | `APP_ANDROID` 或 `APP_IOS` |
| 优化事件 | 未设置。<br>默认设置为目标页面访问。 | `optimization_event` | `DESTINATION_VISIT` 或不传入(推荐做法) |
| 版位 | <strong>编辑版位</strong>,同时将版位设置为仅 TikTok |<ul><li>`placement_type` </li><li> `placements` </li></ul> | `placement_type` 设置为`PLACEMENT_TYPE_NORMAL`,且 `placements` 设置为`["PLACEMENT_TIKTOK"]` |
| 优化目标 | 目标页面访问 | `optimization_goal` | `DESTINATION_VISIT` |
| 归因设置 | <ul><li>归因窗口期:未设置。<br>默认设置为 7 天(点击) 和 1 天(展示)</li><li>事件统计方式:未设置。<br>默认设置为仅一次。 </li></ul> | <ul><li>`click_attribution_window`</li><li>`view_attribution_window`</li><li>`attribution_event_count` </li></ul>| 不传入<ul><li>`click_attribution_window` 将默认设置为`SEVEN_DAYS` 。</li><li>`view_attribution_window` 将默认设置为`ONE_DAY`。</li><li> `attribution_event_count` 将默认设置为 `ONCE` 。</li></ul> |
| 计费事件 | oCPM | `billing_event` | `OCPM` |
| 程序化创意 & 智能创意 | 未启用 | `creative_material_mode` | 不传入 |
| 拆分对比测试 | 未启用 <br><br>优化目标为目标页面访问的访问量广告组不支持传入[/split_test/create/](1742666471475201.html)中创建拆分对比测试。| / | / |
示例
请求
(code curl http)
curl --location --request POST 'https://business-api.tiktok.com/open_api/v1.3/adgroup/create/' \
--header 'Access-Token: {{Access-Token}}' \
--header 'Content-Type: application/json' \
--data '{
"advertiser_id": "{{advertiser_id}}",
"campaign_id": "{{campaign_id}}",
"adgroup_name": "{{adgroup_name}}",
"promotion_type": "APP_IOS",
"app_id": "{{app_id}}",
"placement_type": "PLACEMENT_TYPE_NORMAL",
"placements": ["PLACEMENT_TIKTOK"],
"location_ids": [
"{{location_id}}"
],
"operating_systems": [
"IOS"
],
"budget_mode": "BUDGET_MODE_TOTAL",
"budget": {{budget}},
"schedule_type": "SCHEDULE_START_END",
"schedule_start_time": "{{schedule_start_time}}",
"schedule_end_time": "{{schedule_end_time}}",
"optimization_goal": "DESTINATION_VISIT",
"bid_type": "BID_TYPE_NO_BID",
"billing_event": "OCPM",
"pacing": "PACING_MODE_SMOOTH"
}'
(/code)
返回
(code curl http)
HTTPS/1.1 200 OK
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {
"attribution_event_count": "ONCE",
"creative_material_mode": "CUSTOM",
"statistic_type": null,
"adgroup_app_profile_page_state": null,
"auto_targeting_enabled": false,
"excluded_audience_ids": [],
"rf_estimated_cpr": null,
"next_day_retention": null,
"rf_purchased_type": null,
"scheduled_budget": 0.0,
"frequency": null,
"click_attribution_window": "SEVEN_DAYS",
"gender": "GENDER_UNLIMITED",
"deep_bid_type": null,
"isp_ids": [],
"deep_cpa_bid": 0.0,
"interest_keyword_ids": [],
"schedule_start_time": "{{schedule_start_time}}",
"package": "{{package}}",
"app_id": "{{app_id}}",
"inventory_filter_enabled": false,
"location_ids": [
"{{location_id}}"
],
"budget": {{budget}},
"billing_event": "OCPM",
"optimization_goal": "DESTINATION_VISIT",
"ios14_quota_type": "UNOCCUPIED",
"keywords": null,
"campaign_id": "{{campaign_id}}",
"search_result_enabled": true,
"campaign_name": "{{campaign_name}}",
"app_type": "APP_IOS",
"purchased_impression": null,
"secondary_optimization_event": null,
"purchased_reach": null,
"languages": [],
"comment_disabled": false,
"is_hfss": false,
"frequency_schedule": null,
"schedule_infos": null,
"actions": [],
"adgroup_id": "{{adgroup_id}}",
"pacing": "PACING_MODE_SMOOTH",
"ios14_targeting": "UNSET",
"bid_display_mode": "CPMV",
"device_price_ranges": null,
"age_groups": null,
"operating_systems": [
"IOS"
],
"category_id": "0",
"conversion_bid_price": 0.0,
"dayparting": "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111",
"network_types": [],
"conversion_window": null,
"is_new_structure": true,
"brand_safety_type": "NO_BRAND_SAFETY",
"bid_price": 0.0,
"brand_safety_partner": null,
"view_attribution_window": "ONE_DAY",
"advertiser_id": "{{advertiser_id}}",
"schedule_type": "SCHEDULE_START_END",
"skip_learning_phase": true,
"bid_type": "BID_TYPE_NO_BID",
"interest_category_ids": [],
"create_time": "{{create_time}}",
"pixel_id": null,
"adgroup_name": "{{adgroup_name}}",
"operation_status": "ENABLE",
"category_exclusion_ids": [],
"delivery_mode": null,
"app_download_url": "{{app_download_url}}",
"budget_mode": "BUDGET_MODE_TOTAL",
"placement_type": "PLACEMENT_TYPE_NORMAL",
"optimization_event": "DESTINATION_VISIT",
"audience_ids": [],
"feed_type": null,
"promotion_type": "APP_IOS",
"is_smart_performance_campaign": false,
"rf_estimated_frequency": null,
"schedule_end_time": "{{schedule_end_time}}",
"modify_time": "{{modify_time}}",
"video_download_disabled": false,
"placements": [
"PLACEMENT_TIKTOK"
],
"secondary_status": "ADGROUP_STATUS_CREATE",
"share_disabled": false
}
}
(/code)
3. 创建广告
使用/ad/create/接口创建一个广告。需确保满足以下要求:
| 设置 {20%}| 要求{20%} | 参数 {20%}| 如何设置该参数 {40%}|
|---|---|---|---|
| 目标页面 - 深度链接 | 以下任意一种类型:<ul><li>通用/应用链接</li><li> URL 架构及失败路径</li></ul> | <ul><li>`deeplink_format_type` </li><li> `deeplink` </li><li> `fallback_type` </li><li>`landing_page_url`</li></ul>| <ul><li>若想将深度链接设置为通用/应用链接,则需:<ul><li>将 `deeplink_format_type` 设置为`UNIVERSAL_OR_APP_LINK` </li><li>将 `deeplink` 设置为以`http:// `或 `https:// ` 开头的 iOS 通用链接或 Android 应用链接</li><li>且不传入 `fallback_type` 和`landing_page_url`。</li></ul></li><li>若想将深度链接设置为URL 架构同时设置失败路径,则需:<ul><li>将 `deeplink_format_type` 设置为 `SCHEME_LINK` </li><li>将`deeplink` 设置为格式为`scheme://resource` 的自定义网址架构。例如,WhatsApp 的自定义网址架构格式应为`whatsapp://resource`</li><li>且传入 `fallback_type`。<ul><li>若 `fallback_type` 设置为 `WEBSITE`,则需 将 `landing_page_url` 设置为您希望用户回退至的网页地址。</li><li>若`fallback_type` 设置为 `APP_INSTALL`,则无需传入 `landing_page_url`。</li></ul></li></ul></li></ul> |
| 目标页面 - 深度链接类型 | 非延迟深度链接 | `deeplink_type` | `NORMAL` 或不传入 |
| TikTok 即时体验页面 | 未启用 | `page_id` | 不传入 |
示例
请求
(code curl http)
curl --location --request POST 'https://business-api.tiktok.com/open_api/v1.3/ad/create/' \
--header 'Access-Token: {{Access-Token}}' \
--header 'Content-Type: application/json' \
--data '{
"advertiser_id": "{{advertiser_id}}",
"adgroup_id": "{{adgroup_id}}",
"creatives": [
{
"ad_name": "{{ad_name}}",
"identity_type": "CUSTOMIZED_USER",
"identity_id": "{{identity_id}}",
"ad_format": "SINGLE_VIDEO",
"video_id": "{{video_id}}",
"image_ids": [
"{{image_id}}"
],
"ad_text": "{{ad_text}}",
"call_to_action": "CONTACT_US",
"deeplink": "{{deeplink}}",
"deeplink_type": "NORMAL",
"deeplink_format_type": "UNIVERSAL_OR_APP_LINK"
}
]
}'
(/code)
返回
(code curl http)
HTTPS/1.1 200 OK
{
"code": 0,
"message": "OK",
"request_id": "{{request_id}}",
"data": {
"ad_ids": [
"{{ad_id}}"
],
"need_audit": false,
"creatives": [
{
"ad_name": "{{ad_name}}",
"card_id": null,
"call_to_action_id": null,
"profile_image_url": "",
"fallback_type": "UNSET",
"creative_authorized": false,
"vast_moat_enabled": false,
"deeplink_format_type": "UNIVERSAL_OR_APP_LINK",
"image_ids": [
"{{image_id}}"
],
"is_aco": false,
"campaign_id": "{{campaign_id}}",
"video_id": "{{video_id}}",
"click_tracking_url": null,
"display_name": "",
"campaign_name": "{{campaign_name}}",
"app_name": "{{app_name}}",
"ad_texts": null,
"tracking_pixel_id": 0,
"call_to_action": "CONTACT_US",
"ad_id": "{{ad_id}}",
"tracking_app_id": "{{tracking_app_id}}",
"is_new_structure": true,
"creative_type": null,
"identity_type": "CUSTOMIZED_USER",
"playable_url": "",
"impression_tracking_url": null,
"advertiser_id": "{{advertiser_id}}",
"adgroup_id": "{{adgroup_id}}",
"landing_page_urls": null,
"create_time": "{{create_time}}",
"ad_format": "SINGLE_VIDEO",
"operation_status": "ENABLE",
"identity_id": "{{identity_id}}",
"adgroup_name": "{{adgroup_name}}",
"viewability_vast_url": null,
"tracking_offline_event_set_ids": [
"{{tracking_offline_event_set_id}}",
"{{tracking_offline_event_set_id}}",
"{{tracking_offline_event_set_id}}",
"{{tracking_offline_event_set_id}}",
"{{tracking_offline_event_set_id}}"
],
"viewability_postbid_partner": "UNSET",
"music_id": null,
"brand_safety_vast_url": null,
"optimization_event": "DESTINATION_VISIT",
"deeplink": "{{deeplink}}",
"deeplink_type": "NORMAL",
"page_id": null,
"brand_safety_postbid_partner": "UNSET",
"landing_page_url": "",
"modify_time": "{{modify_time}}",
"ad_text": "{{ad_text}}",
"avatar_icon_web_uri": ""
}
]
}
}
(/code)