diff --git a/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/error.proto b/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/error.proto index 60d0efe4dd6..97cc0a11ccd 100644 --- a/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/error.proto +++ b/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/error.proto @@ -339,4 +339,11 @@ enum ErrorReason { // The user list membership duration is too long. MEMBERSHIP_DURATION_TOO_LONG = 99; + + // The `merchant_id` field is not valid. + INVALID_MERCHANT_ID = 100; + + // The customer contains non-exempt campaigns without the EU political + // advertising declaration. + EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED = 101; } diff --git a/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/partner_link_service.proto b/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/partner_link_service.proto index 32b62f42f12..fc4acbaa79f 100644 --- a/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/partner_link_service.proto +++ b/packages/google-ads-datamanager/protos/google/ads/datamanager/v1/partner_link_service.proto @@ -48,9 +48,6 @@ service PartnerLinkService { // Google Account of the credentials is a user. If not set, defaults to the // account of the request. Format: // `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - // * `linked-account`: (Optional) The resource name of the account with an - // established product link to the `login-account`. Format: - // `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` rpc CreatePartnerLink(CreatePartnerLinkRequest) returns (PartnerLink) { option (google.api.http) = { post: "/v1/{parent=accountTypes/*/accounts/*}/partnerLinks" @@ -70,9 +67,6 @@ service PartnerLinkService { // Google Account of the credentials is a user. If not set, defaults to the // account of the request. Format: // `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - // * `linked-account`: (Optional) The resource name of the account with an - // established product link to the `login-account`. Format: - // `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` rpc DeletePartnerLink(DeletePartnerLinkRequest) returns (google.protobuf.Empty) { option (google.api.http) = { @@ -92,9 +86,6 @@ service PartnerLinkService { // Google Account of the credentials is a user. If not set, defaults to the // account of the request. Format: // `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - // * `linked-account`: (Optional) The resource name of the account with an - // established product link to the `login-account`. Format: - // `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` rpc SearchPartnerLinks(SearchPartnerLinksRequest) returns (SearchPartnerLinksResponse) { option (google.api.http) = { diff --git a/packages/google-ads-datamanager/protos/protos.d.ts b/packages/google-ads-datamanager/protos/protos.d.ts index d064b3ecb39..c16044ba152 100644 --- a/packages/google-ads-datamanager/protos/protos.d.ts +++ b/packages/google-ads-datamanager/protos/protos.d.ts @@ -2152,7 +2152,9 @@ export namespace google { UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG = 96, UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE = 97, UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK = 98, - MEMBERSHIP_DURATION_TOO_LONG = 99 + MEMBERSHIP_DURATION_TOO_LONG = 99, + INVALID_MERCHANT_ID = 100, + EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED = 101 } /** Properties of an Event. */ diff --git a/packages/google-ads-datamanager/protos/protos.js b/packages/google-ads-datamanager/protos/protos.js index 584fc1f1999..ef327392a2e 100644 --- a/packages/google-ads-datamanager/protos/protos.js +++ b/packages/google-ads-datamanager/protos/protos.js @@ -5262,6 +5262,8 @@ * @property {number} UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE=97 UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE value * @property {number} UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK=98 UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK value * @property {number} MEMBERSHIP_DURATION_TOO_LONG=99 MEMBERSHIP_DURATION_TOO_LONG value + * @property {number} INVALID_MERCHANT_ID=100 INVALID_MERCHANT_ID value + * @property {number} EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED=101 EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED value */ v1.ErrorReason = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -5365,6 +5367,8 @@ values[valuesById[97] = "UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE"] = 97; values[valuesById[98] = "UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK"] = 98; values[valuesById[99] = "MEMBERSHIP_DURATION_TOO_LONG"] = 99; + values[valuesById[100] = "INVALID_MERCHANT_ID"] = 100; + values[valuesById[101] = "EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED"] = 101; return values; })(); diff --git a/packages/google-ads-datamanager/protos/protos.json b/packages/google-ads-datamanager/protos/protos.json index 2a824acaf80..d990a67211e 100644 --- a/packages/google-ads-datamanager/protos/protos.json +++ b/packages/google-ads-datamanager/protos/protos.json @@ -633,7 +633,9 @@ "UNSUPPORTED_INGESTED_USER_LIST_INFO_CONFIG": 96, "UNSUPPORTED_ACCOUNT_TYPES_FOR_USER_LIST_TYPE": 97, "UNSUPPORTED_ACCOUNT_TYPE_FOR_PARTNER_LINK": 98, - "MEMBERSHIP_DURATION_TOO_LONG": 99 + "MEMBERSHIP_DURATION_TOO_LONG": 99, + "INVALID_MERCHANT_ID": 100, + "EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED": 101 } }, "Event": { diff --git a/packages/google-ads-datamanager/samples/generated/v1/snippet_metadata_google.ads.datamanager.v1.json b/packages/google-ads-datamanager/samples/generated/v1/snippet_metadata_google.ads.datamanager.v1.json index 667a8a395a7..64f8cb59a96 100644 --- a/packages/google-ads-datamanager/samples/generated/v1/snippet_metadata_google.ads.datamanager.v1.json +++ b/packages/google-ads-datamanager/samples/generated/v1/snippet_metadata_google.ads.datamanager.v1.json @@ -283,7 +283,7 @@ "regionTag": "datamanager_v1_generated_PartnerLinkService_CreatePartnerLink_async", "title": "IngestionService createPartnerLink Sample", "origin": "API_DEFINITION", - "description": " Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "description": " Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`", "canonical": true, "file": "partner_link_service.create_partner_link.js", "language": "JAVASCRIPT", @@ -327,7 +327,7 @@ "regionTag": "datamanager_v1_generated_PartnerLinkService_DeletePartnerLink_async", "title": "IngestionService deletePartnerLink Sample", "origin": "API_DEFINITION", - "description": " Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "description": " Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`", "canonical": true, "file": "partner_link_service.delete_partner_link.js", "language": "JAVASCRIPT", @@ -367,7 +367,7 @@ "regionTag": "datamanager_v1_generated_PartnerLinkService_SearchPartnerLinks_async", "title": "IngestionService searchPartnerLinks Sample", "origin": "API_DEFINITION", - "description": " Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}` * `linked-account`: (Optional) The resource name of the account with an established product link to the `login-account`. Format: `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`", + "description": " Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`", "canonical": true, "file": "partner_link_service.search_partner_links.js", "language": "JAVASCRIPT", diff --git a/packages/google-ads-datamanager/src/v1/partner_link_service_client.ts b/packages/google-ads-datamanager/src/v1/partner_link_service_client.ts index fa013762498..db057a159bd 100644 --- a/packages/google-ads-datamanager/src/v1/partner_link_service_client.ts +++ b/packages/google-ads-datamanager/src/v1/partner_link_service_client.ts @@ -363,9 +363,6 @@ export class PartnerLinkServiceClient { * Google Account of the credentials is a user. If not set, defaults to the * account of the request. Format: * `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - * * `linked-account`: (Optional) The resource name of the account with an - * established product link to the `login-account`. Format: - * `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` * * @param {Object} request * The request object that will be sent. @@ -473,9 +470,6 @@ export class PartnerLinkServiceClient { * Google Account of the credentials is a user. If not set, defaults to the * account of the request. Format: * `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - * * `linked-account`: (Optional) The resource name of the account with an - * established product link to the `login-account`. Format: - * `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` * * @param {Object} request * The request object that will be sent. @@ -583,9 +577,6 @@ export class PartnerLinkServiceClient { * Google Account of the credentials is a user. If not set, defaults to the * account of the request. Format: * `accountTypes/{loginAccountType}/accounts/{loginAccountId}` - * * `linked-account`: (Optional) The resource name of the account with an - * established product link to the `login-account`. Format: - * `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}` * * @param {Object} request * The request object that will be sent.