프로그램 하위 API 개요
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
프로그램을 사용하면 다양한 Google 플랫폼에서 제품 홍보를 관리하고 계정의 기능을 개선할 수 있습니다.
그중 대표적인 예가 무료 제품 등록정보 프로그램으로, 이 프로그램을 사용하면 온라인 상점의 제품을 Google 서비스 전반에 무료로 표시할 수 있습니다.
Programs 하위 API를 사용하면 사용 가능한 모든 쇼핑 프로그램에 대한 참여를 검색하고 업데이트할 수 있습니다.
프로그램을 검색, 사용 설정, 사용 중지하려면 다음 메서드를 사용하세요.
모든 프로그램 나열
계정의 모든 프로그램을 검색하려면 accounts.programs.list
메서드를 사용하세요.
다음은 샘플 요청입니다.
HTTP
GET https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs
cURL
curl \
'https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed
다음은 성공적인 요청의 샘플 응답입니다.
{
"programs": [
{
"name": "accounts/{ACCOUNT_ID}/programs/free-listings",
"documentationUri": "{URI}",
"state": "{ACCOUNT_STATE}",
"unmetRequirements": [
{
"title": "{TITLE}",
"documentationUri": "{URI}",
"affectedRegionCodes": [
"{REGION_CODE}"
]
}
]
}
]
}
단일 프로그램 검색
특정 프로그램을 가져오려면 accounts.programs.get
메서드를 사용합니다.
다음은 샘플 요청입니다.
HTTP
GET https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listings
cURL
curl \
'https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listing?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--compressed
다음은 성공적인 요청의 샘플 응답입니다.
{
"name": "accounts/{ACCOUNT_ID}/programs/free-listings",
"documentationUri": "{URI}",
"state": "{ACCOUNT_STATE}",
"unmetRequirements": [
{
"title": "{TITLE}",
"documentationUri": "{URI}",
"affectedRegionCodes": [
"{REGION_CODE}"
]
}
]
}
프로그램 사용 설정
계정의 지정된 프로그램 참여를 사용 설정하려면 accounts.programs.enable
메서드를 사용합니다. 이 권한을 실행하려면 관리자 액세스 권한이 있어야 합니다.
다음은 샘플 요청입니다.
HTTP
POST https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listings:enable
cURL
curl --request POST \
'https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listing:enable?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{}' \
--compressed
다음은 성공적인 요청의 샘플 응답입니다.
{
"name": "accounts/{ACCOUNT_ID}/programs/free-listings",
"documentationUri": "{URI}",
"state": "{ACCOUNT_STATE}",
"unmetRequirements": [
{
"title": "{TITLE}",
"documentationUri": "{URI}",
"affectedRegionCodes": [
"{REGION_CODE}"
]
}
]
}
프로그램 사용 중지
계정의 지정된 프로그램 참여를 사용 중지하려면 accounts.programs.disable
메서드를 사용합니다. 이 권한을 실행하려면 관리자 액세스 권한이 있어야 합니다.
다음은 샘플 요청입니다.
HTTP
POST https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listings:disable
cURL
curl --request POST \
'https://merchantapi.googleapis.com/accounts/v1/accounts/{ACCOUNT_ID}/programs/free-listing:disable?key=[YOUR_API_KEY]' \
--header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '{}' \
--compressed
다음은 성공적인 요청의 샘플 응답입니다.
{
"name": "accounts/{ACCOUNT_ID}/programs/free-listings",
"documentationUri": "{URI}",
"state": "{ACCOUNT_STATE}"
}
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-08(UTC)
[null,null,["최종 업데이트: 2025-08-08(UTC)"],[[["\u003cp\u003ePrograms allow users to manage the promotion of their products and enhance account features across Google.\u003c/p\u003e\n"],["\u003cp\u003eThe Programs API enables the retrieval and modification of participation in all available shopping programs.\u003c/p\u003e\n"],["\u003cp\u003eUsers can retrieve all programs for an account using the \u003ccode\u003eaccounts.programs.list\u003c/code\u003e method, with example requests and responses provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eaccounts.programs.get\u003c/code\u003e, \u003ccode\u003eaccounts.programs.enable\u003c/code\u003e, and \u003ccode\u003eaccounts.programs.disable\u003c/code\u003e methods can be used to manage specific programs, such as enabling or disabling free product listings.\u003c/p\u003e\n"],["\u003cp\u003eEnabling or disabling programs requires administrator access, as detailed in the provided documentation.\u003c/p\u003e\n"]]],["Programs API manages participation in Google shopping programs, like free product listings, to enhance product promotion across Google. You can retrieve, enable, and disable these programs using specific API methods. `accounts.programs.list` retrieves all programs; `accounts.programs.get` retrieves a single program. The methods `accounts.programs.enable` and `accounts.programs.disable` allow for enabling or disabling program participation, respectively. These actions require administrator access, and successful requests return program details, including state and unmet requirements.\n"],null,["# Overview of Programs sub-API\n\nPrograms let you control the\n[promotion of your products](https://www.google.com/retail/) and enhance the\nfeatures of your account across various Google surfaces.\n\nA typical example of this is the [free product listings](//support.google.com/merchants/topic/15190028)\nprogram, which enables products from your online store to be shown across\nGoogle with no charge.\n\nPrograms sub-API lets you retrieve and update your participation in all\navailable shopping programs.\n\nTo retrieve, enable, and disable programs, you can use the following methods:\n\n- [`accounts.programs.list`](#list)\n- [`accounts.programs.get`](#get)\n- [`accounts.programs.enable`](#enable)\n- [`accounts.programs.disable`](#disable)\n\nList all programs\n-----------------\n\nTo retrieve all programs for the account, use the [`accounts.programs.list`](/merchant/api/reference/rest/accounts_v1/accounts.programs/list)\nmethod.\n\nHere's a sample request: \n\n### HTTP\n\n GET https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs\n\n### cURL\n\n curl \\\n 'https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs?key=[YOUR_API_KEY]' \\\n --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \\\n --header 'Accept: application/json' \\\n --compressed\n\nHere's a sample response from a successful request: \n\n {\n \"programs\": [\n {\n \"name\": \"accounts/\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"state\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_STATE}\u003c/var\u003e\",\n \"unmetRequirements\": [\n {\n \"title\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{TITLE}\u003c/var\u003e\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"affectedRegionCodes\": [\n \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{REGION_CODE}\u003c/var\u003e\"\n ]\n }\n ]\n }\n ]\n }\n\nRetrieve a single program\n-------------------------\n\nTo retrieve a specific program, use the [`accounts.programs.get`](/merchant/api/reference/rest/accounts_v1/accounts.programs/get)\nmethod.\n\nHere's a sample request: \n\n### HTTP\n\n GET https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings\n\n### cURL\n\n curl \\\n 'https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listing?key=[YOUR_API_KEY]' \\\n --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \\\n --header 'Accept: application/json' \\\n --compressed\n\nHere's a sample response from a successful request: \n\n {\n \"name\": \"accounts/\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"state\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_STATE}\u003c/var\u003e\",\n \"unmetRequirements\": [\n {\n \"title\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{TITLE}\u003c/var\u003e\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"affectedRegionCodes\": [\n \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{REGION_CODE}\u003c/var\u003e\"\n ]\n }\n ]\n }\n\nEnable a program\n----------------\n\nTo enable participation in the specified program for the account, use the [`accounts.programs.enable`](/merchant/api/reference/rest/accounts_v1/accounts.programs/enable)\nmethod. You must have [administrator access](/merchant/api/guides/accounts/control-access)\nto run this permission.\n\nHere's a sample request: \n\n### HTTP\n\n POST https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings:enable\n\n### cURL\n\n curl --request POST \\\n 'https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listing:enable?key=[YOUR_API_KEY]' \\\n --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \\\n --header 'Accept: application/json' \\\n --header 'Content-Type: application/json' \\\n --data '{}' \\\n --compressed\n\nHere's a sample response from a successful request: \n\n {\n \"name\": \"accounts/\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"state\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_STATE}\u003c/var\u003e\",\n \"unmetRequirements\": [\n {\n \"title\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{TITLE}\u003c/var\u003e\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"affectedRegionCodes\": [\n \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{REGION_CODE}\u003c/var\u003e\"\n ]\n }\n ]\n }\n\nDisable a program\n-----------------\n\nTo disable participation in the specified program for the account, use the [`accounts.programs.disable`](/merchant/api/reference/rest/accounts_v1/accounts.programs/disable)\nmethod. You must have [administrator access](/merchant/api/guides/accounts/control-access)\nto run this permission.\n\nHere's a sample request: \n\n### HTTP\n\n POST https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings:disable\n\n### cURL\n\n curl --request POST \\\n 'https://merchantapi.googleapis.com/accounts/v1/accounts/\u003cvar translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listing:disable?key=[YOUR_API_KEY]' \\\n --header 'Authorization: Bearer [YOUR_ACCESS_TOKEN]' \\\n --header 'Accept: application/json' \\\n --header 'Content-Type: application/json' \\\n --data '{}' \\\n --compressed\n\nHere's a sample response from a successful request: \n\n {\n \"name\": \"accounts/\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_ID}\u003c/var\u003e/programs/free-listings\",\n \"documentationUri\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{URI}\u003c/var\u003e\",\n \"state\": \"\u003cvar class=\"readonly\" translate=\"no\"\u003e{ACCOUNT_STATE}\u003c/var\u003e\"\n }"]]