您请求访问的页面目前没有您的语言版本。您可以从页面底部选择其他语言,或使用 Google Chrome 的内置翻译功能将网页内容即时翻译成您选择的语言。

Programmable Search Attribution API

The Programmable Search Attribution API is the only approved way to add Google Attribution to your Programmable Search Engine experiences outside of using the Search Element. Please read the Branding Guidelines for more details on where and how attribution should be used.

 

To create an attribution on the page, use the following code:

<script src="https://www.gstatic.com/prose/brand.js" targetId="divId"></script>

where "divId" is the id of a <div> element on your page.

The attribution will look like:

 

To create an attribution as a watermark in a search box, use the following code: 

<script src="https://www.gstatic.com/prose/brand.js" targetId="inputId"></script>            

where "inputId" is the id of a <input> element on your page.

The watermark attribution of a search box would look like:

 

By default, the Programmable Search Attribution API will use the detected language of the user's browser.  If you wish to force a specific language, add a hl attribute with a value of one of the supported language code values.  For example, to render in French:

<script src="https://www.gstatic.com/prose/brand.js" targetId="divId" hl="fr"></script> 






































































































































































 

搜索
清除搜索查询
关闭搜索框
Google 应用
主菜单
Search Help Center
false