การสร้างโฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณา
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การสร้างโฆษณาจะดำเนินการโดยใช้
AdGroupAdService.MutateAdGroupAds
เช่นเดียวกับโฆษณาอื่นๆ
จากนั้นคุณจะเพิ่มโฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณาไปยังแคมเปญ Display มาตรฐานได้
การสร้างโฆษณา
หากต้องการสร้างโฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณา คุณต้องกรอกข้อมูลในช่องที่ต้องกรอกต่อไปนี้ของ ResponsiveDisplayAdInfo
marketing_images
square_marketing_images
headlines
long_headline
descriptions
business name
ดูข้อกำหนดของฟิลด์และรูปภาพอื่นๆ ทั้งหมดได้ใน
หน้าอ้างอิงและ
บทความในศูนย์ช่วยเหลือ
ฟีเจอร์ขั้นสูง
- การควบคุมสี
- คุณปรับแต่งสีสำหรับโฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณาให้เหมาะกับความต้องการด้านการสร้างแบรนด์ได้โดยการระบุ
main_color
และ accent_color
ตั้งค่า
allow_flexible_color
เป็น true
เมื่อต้องการอนุญาตให้โฆษณาแสดงด้วยสีที่แตกต่างจากสีที่คุณระบุไว้เมื่อจำเป็น
- การตั้งค่ารูปแบบโฆษณา Display
โฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณาสามารถแสดงได้ทั้งรูปแบบเนทีฟและไม่ใช่เนทีฟ ความแตกต่างระหว่างรูปแบบทั้ง 2 คือการแสดงผลรูปแบบโฆษณาเนทีฟจะควบคุมโดยผู้เผยแพร่โฆษณา ในขณะที่การแสดงผลรูปแบบที่ไม่ใช่โฆษณาเนทีฟจะได้รับการเพิ่มประสิทธิภาพโดยโมเดลของ Google โดยมีข้อมูลจากผู้ลงโฆษณา เช่น ข้อมูลสีจาก main_color
และ accent_color
คุณตั้งค่าฟิลด์
format_setting
เพื่อเลือกรูปแบบที่โฆษณาควรแสดงได้ อย่างไรก็ตาม คุณไม่สามารถ
ตั้งค่า format_setting
เป็น
NATIVE
เมื่อ
allow_flexible_color
เป็น false
เนื่องจากผู้เผยแพร่โฆษณาต้องควบคุมการลงสีในกรณี
ของรูปแบบเนทีฟ
- การควบคุมโฆษณา
โฆษณา Display ที่ปรับเปลี่ยนตามพื้นที่โฆษณาจะบอกคุณได้ว่าได้เลือกใช้การเพิ่มประสิทธิภาพวิดีโอหรือชิ้นงานที่สร้างขึ้นหรือไม่ผ่านcontrol_spec
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-27 UTC
[null,null,["อัปเดตล่าสุด 2025-08-27 UTC"],[[["\u003cp\u003eResponsive display ads are created using \u003ccode\u003eAdGroupAdService.MutateAdGroupAds\u003c/code\u003e and can be added to standard Display campaigns.\u003c/p\u003e\n"],["\u003cp\u003eTo create a responsive display ad, you must populate required fields like marketing images, headlines, descriptions, and business name within the \u003ccode\u003eResponsiveDisplayAdInfo\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eCustomize ad colors using \u003ccode\u003emain_color\u003c/code\u003e and \u003ccode\u003eaccent_color\u003c/code\u003e, with \u003ccode\u003eallow_flexible_color\u003c/code\u003e controlling color variations.\u003c/p\u003e\n"],["\u003cp\u003eControl ad format with \u003ccode\u003eformat_setting\u003c/code\u003e, choosing between native (publisher-controlled rendering) and non-native (Google-optimized rendering).\u003c/p\u003e\n"],["\u003cp\u003eResponsive display ads provide insights into generated videos and asset enhancements through their \u003ccode\u003econtrol_spec\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Creating Responsive Display Ads\n\nAs with other ads, ad creation is accomplished using\n[`AdGroupAdService.MutateAdGroupAds`](/google-ads/api/reference/rpc/v21/AdGroupAdService#mutateadgroupads).\nYou can then add the responsive display ad to [standard Display\ncampaigns](//support.google.com/google-ads/answer/2404190).\n\nAd creation\n-----------\n\nTo create a responsive display ad, you need to populate the following required\nfields of [`ResponsiveDisplayAdInfo`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo):\n\n- `marketing_images`\n- `square_marketing_images`\n- `headlines`\n- `long_headline`\n- `descriptions`\n- `business name`\n\nAll other fields and images' specifications can be found in the\n[reference page](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo) and the\n[Help Center article](//support.google.com/google-ads/answer/7005917).\n\nAdvanced features\n-----------------\n\nColor controls\n: You can customize colors for your responsive display ads to fit your branding\n needs by specifying\n [`main_color`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#main_color) and\n [`accent_color`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#accent_color). Set\n [`allow_flexible_color`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#allow_flexible_color)\n to `true` when you want to let ads serve with different colors than what\n you've specified, when necessary.\n\nDisplay ad format setting\n\n: Responsive display ads can run as both native and non-native formats. The\n difference between the two formats is that native format rendering is\n controlled by publishers, whereas non-native format rendering is optimized by\n Google models, with advertisers' inputs---for example, color information\n from `main_color` and `accent_color`.\n\n You can set the\n [`format_setting`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#format_setting)\n field to select the format that the ads should run as. However, you cannot\n set the `format_setting` to\n [`NATIVE`](/google-ads/api/reference/rpc/v21/DisplayAdFormatSettingEnum.DisplayAdFormatSetting#native)\n when\n [`allow_flexible_color`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#allow_flexible_color)\n is `false`, as the coloring needs to be controlled by publishers in the case\n of native formats.\n\nAd controls\n\n: Responsive display ads can tell you if they've been opted in to generated\n videos or asset enhancements through their\n [`control_spec`](/google-ads/api/reference/rpc/v21/ResponsiveDisplayAdInfo#control_spec)."]]