From 6222ca618bccce731cd2798ae065517b7ce06e21 Mon Sep 17 00:00:00 2001 From: nikkig124 Date: Tue, 14 Sep 2021 11:23:01 -0400 Subject: [PATCH] change resource --- src/TwitterAds/TailoredAudience/TailoredAudience.php | 4 ++-- .../TailoredAudience/TailoredAudiencePermission.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TwitterAds/TailoredAudience/TailoredAudience.php b/src/TwitterAds/TailoredAudience/TailoredAudience.php index 2bc0625..c8262c5 100644 --- a/src/TwitterAds/TailoredAudience/TailoredAudience.php +++ b/src/TwitterAds/TailoredAudience/TailoredAudience.php @@ -15,8 +15,8 @@ */ final class TailoredAudience extends Resource { - const RESOURCE_COLLECTION = 'accounts/{account_id}/tailored_audiences'; - const RESOURCE = 'accounts/{account_id}/tailored_audiences/{id}'; + const RESOURCE_COLLECTION = 'accounts/{account_id}/custom_audiences'; + const RESOURCE = 'accounts/{account_id}/custom_audiences/{id}'; const LIST_TYPE_EMAIL = 'EMAIL'; const LIST_TYPE_DEVICE_ID = 'DEVICE_ID'; diff --git a/src/TwitterAds/TailoredAudience/TailoredAudiencePermission.php b/src/TwitterAds/TailoredAudience/TailoredAudiencePermission.php index 1d6b43e..791c227 100644 --- a/src/TwitterAds/TailoredAudience/TailoredAudiencePermission.php +++ b/src/TwitterAds/TailoredAudience/TailoredAudiencePermission.php @@ -19,8 +19,8 @@ */ final class TailoredAudiencePermission extends Resource { - const RESOURCE_COLLECTION = 'accounts/{account_id}/tailored_audiences/{tailored_audience_id/permissions}'; - const RESOURCE = 'accounts/{account_id}/tailored_audiences/{tailored_audience_id/permissions}/{id}'; + const RESOURCE_COLLECTION = 'accounts/{account_id}/custom_audiences/{tailored_audience_id/permissions}'; + const RESOURCE = 'accounts/{account_id}/custom_audiences/{tailored_audience_id/permissions}/{id}'; const RESOURCE_TAILORED_AUDIENCE_ID_REPLACE = '{tailored_audience_id}';