HTTP/2 200
content-type: text/html; charset=UTF-8
content-length: 4316
date: Wed, 08 Oct 2025 13:25:19 GMT
vary: Accept-Encoding
content-encoding: gzip
cache-control: private, no-cache, must-revalidate
pragma: no-cache
accept-ch: Sec-CH-UA-Full-Version-List, Sec-CH-UA-Model, Sec-CH-UA-Platform-Version, Sec-CH-UA-Arch
permissions-policy: ch-ua-full-version-list=*, ch-ua-model=*, ch-ua-platform-version=*, ch-ua-arch=*
permissions-policy: unload=()
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
set-cookie: A=759g49hkecphv&sd=A&t=1759929919&u=1759929919&v=1; expires=Thu, 08 Oct 2026 13:25:19 GMT; domain=.yahoo.co.jp; path=/; httponly; secure
set-cookie: XA=759g49hkecphv&sd=A&t=1759929919&u=1759929919&v=1; expires=Thu, 08 Oct 2026 13:25:19 GMT; domain=.yahoo.co.jp; path=/; httponly; secure; samesite=none
set-cookie: B=3c277514-a44a-11f0-96b4-176a2b9c46e4&v=6&u=1759929919&s=rc; expires=Sat, 09 Oct 2027 13:25:19 GMT; path=/; domain=.yahoo.co.jp; secure
set-cookie: XB=3c277514-a44a-11f0-96b4-176a2b9c46e4&v=6&u=1759929919&s=rc; expires=Sat, 09 Oct 2027 13:25:19 GMT; path=/; domain=.yahoo.co.jp; secure; samesite=none
コンテンツキーワードリスト │ Yahoo!広告 スクリプト │ Developer Center - Yahoo!広告
コンテンツキーワードリスト
・コンテンツキーワードリストの情報を取得する
コンテンツキーワードリストの情報を取得する
function main() {
const accountId = AdsUtilities.getCurrentAccountId();
const contentKeyword = Display.ContentsKeywordListService.get({
accountId: accountId
}).rval;
if (contentKeyword.totalNumEntries == 0) {
Logger.log('ContentsKeywordList does not exist.');
return;
}
for (let i = 0; i < contentKeyword.values.length; i++) {
let contentsKeywordList = contentKeyword.values[i].contentsKeywordList;
Logger.log('contentsKeywordListId-> ' + contentsKeywordList.contentsKeywordListId
+ ', contentsKeywordListName-> ' + contentsKeywordList.contentsKeywordListName);
}
}