Skip to content

Commit 5c2000f

Browse files
github-actions[bot]github-actions
andauthored
Add includesOwnedAudienceGroups Parameter to Audience API (#702)
line/line-openapi#105 # Enhancement to Shared Audiences API This PR introduces a new query parameter `includesOwnedAudienceGroups` to the `/v2/bot/audienceGroup/shared/list` endpoint in the Business Manager API. This enhancement allows users to specify whether to include audience groups owned by the user in the response. ## Changes Made - Added the `includesOwnedAudienceGroups` parameter to the API endpoint. - **Type**: Boolean - **Default**: false - **Description**: - `true`: Include audience groups owned by the LINE Official Account Manager. - `false`: Respond only with audience groups shared by Business Manager. - Removed the `/v2/bot/audienceGroup/{audienceGroupId}/activate` and `/v2/bot/audienceGroup/authorityLevel` endpoints. ## Purpose This update provides more flexibility in retrieving audience groups by allowing users to filter based on ownership. It is especially useful for users who manage both shared and owned audience groups. The removal of certain endpoints is part of a cleanup effort to streamline the API. Please review the changes and let me know if there are any questions or further modifications needed. ## Documents and Reference - [Get List of Shared Audiences](https://developers.line.biz/en/reference/messaging-api/#get-shared-audience-list) - [Removed Endpoints](https://developers.line.biz/en/news/2025/03/26/cross-targeting-closing/) For more information, please refer to the links provided above. --------- Co-authored-by: github-actions <[email protected]>
1 parent a5d0987 commit 5c2000f

10 files changed

+1116
-4294
lines changed

docs/classes/LINE-Clients-ManageAudience-Api-ManageAudienceApi.html

Lines changed: 1034 additions & 2135 deletions
Large diffs are not rendered by default.

docs/indices/files.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ <h3>A</h3>
161161
<li><a href="files/src-webhook-test-model-attachedmodulecontenttest.html"><abbr title="src/webhook/test/Model/AttachedModuleContentTest.php">AttachedModuleContentTest.php</abbr></a></li>
162162
<li><a href="files/src-clients-manage-audience-lib-model-audience.html"><abbr title="src/clients/manage-audience/lib/Model/Audience.php">Audience.php</abbr></a></li>
163163
<li><a href="files/src-clients-manage-audience-lib-model-audiencegroup.html"><abbr title="src/clients/manage-audience/lib/Model/AudienceGroup.php">AudienceGroup.php</abbr></a></li>
164-
<li><a href="files/src-clients-manage-audience-lib-model-audiencegroupauthoritylevel.html"><abbr title="src/clients/manage-audience/lib/Model/AudienceGroupAuthorityLevel.php">AudienceGroupAuthorityLevel.php</abbr></a></li>
165164
<li><a href="files/src-clients-manage-audience-lib-model-audiencegroupcreateroute.html"><abbr title="src/clients/manage-audience/lib/Model/AudienceGroupCreateRoute.php">AudienceGroupCreateRoute.php</abbr></a></li>
166165
<li><a href="files/src-clients-manage-audience-lib-model-audiencegroupfailedtype.html"><abbr title="src/clients/manage-audience/lib/Model/AudienceGroupFailedType.php">AudienceGroupFailedType.php</abbr></a></li>
167166
<li><a href="files/src-clients-manage-audience-lib-model-audiencegroupjob.html"><abbr title="src/clients/manage-audience/lib/Model/AudienceGroupJob.php">AudienceGroupJob.php</abbr></a></li>
@@ -332,7 +331,6 @@ <h3>G</h3>
332331
<li><a href="files/src-clients-messaging-api-lib-model-getaggregationunitusageresponse.html"><abbr title="src/clients/messaging-api/lib/Model/GetAggregationUnitUsageResponse.php">GetAggregationUnitUsageResponse.php</abbr></a></li>
333332
<li><a href="files/src-clients-liff-lib-model-getallliffappsresponse.html"><abbr title="src/clients/liff/lib/Model/GetAllLiffAppsResponse.php">GetAllLiffAppsResponse.php</abbr></a></li>
334333
<li><a href="files/src-clients-manage-audience-lib-model-getaudiencedataresponse.html"><abbr title="src/clients/manage-audience/lib/Model/GetAudienceDataResponse.php">GetAudienceDataResponse.php</abbr></a></li>
335-
<li><a href="files/src-clients-manage-audience-lib-model-getaudiencegroupauthoritylevelresponse.html"><abbr title="src/clients/manage-audience/lib/Model/GetAudienceGroupAuthorityLevelResponse.php">GetAudienceGroupAuthorityLevelResponse.php</abbr></a></li>
336334
<li><a href="files/src-clients-manage-audience-lib-model-getaudiencegroupsresponse.html"><abbr title="src/clients/manage-audience/lib/Model/GetAudienceGroupsResponse.php">GetAudienceGroupsResponse.php</abbr></a></li>
337335
<li><a href="files/src-clients-messaging-api-lib-model-getfollowersresponse.html"><abbr title="src/clients/messaging-api/lib/Model/GetFollowersResponse.php">GetFollowersResponse.php</abbr></a></li>
338336
<li><a href="files/src-clients-insight-lib-model-getfriendsdemographicsresponse.html"><abbr title="src/clients/insight/lib/Model/GetFriendsDemographicsResponse.php">GetFriendsDemographicsResponse.php</abbr></a></li>
@@ -612,7 +610,6 @@ <h3>U</h3>
612610
<li><a href="files/src-webhook-test-model-unsenddetailtest.html"><abbr title="src/webhook/test/Model/UnsendDetailTest.php">UnsendDetailTest.php</abbr></a></li>
613611
<li><a href="files/src-webhook-lib-model-unsendevent.html"><abbr title="src/webhook/lib/Model/UnsendEvent.php">UnsendEvent.php</abbr></a></li>
614612
<li><a href="files/src-webhook-test-model-unsendeventtest.html"><abbr title="src/webhook/test/Model/UnsendEventTest.php">UnsendEventTest.php</abbr></a></li>
615-
<li><a href="files/src-clients-manage-audience-lib-model-updateaudiencegroupauthoritylevelrequest.html"><abbr title="src/clients/manage-audience/lib/Model/UpdateAudienceGroupAuthorityLevelRequest.php">UpdateAudienceGroupAuthorityLevelRequest.php</abbr></a></li>
616613
<li><a href="files/src-clients-manage-audience-lib-model-updateaudiencegroupdescriptionrequest.html"><abbr title="src/clients/manage-audience/lib/Model/UpdateAudienceGroupDescriptionRequest.php">UpdateAudienceGroupDescriptionRequest.php</abbr></a></li>
617614
<li><a href="files/src-clients-liff-lib-model-updateliffapprequest.html"><abbr title="src/clients/liff/lib/Model/UpdateLiffAppRequest.php">UpdateLiffAppRequest.php</abbr></a></li>
618615
<li><a href="files/src-clients-liff-lib-model-updateliffview.html"><abbr title="src/clients/liff/lib/Model/UpdateLiffView.php">UpdateLiffView.php</abbr></a></li>

0 commit comments

Comments
 (0)