Skip to content

Commit d3ad5e3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add INVALID_MERCHANT_ID to the ErrorReason enum for when the merchant_id field is not valid
feat: add EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED to the ErrorReason enum for campaigns missing the EU political advertising declaration PiperOrigin-RevId: 889816734
1 parent a4d528d commit d3ad5e3

3 files changed

Lines changed: 8 additions & 9 deletions

File tree

google/ads/datamanager/v1/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ load(
368368

369369
csharp_proto_library(
370370
name = "datamanager_csharp_proto",
371+
extra_opts = [],
371372
deps = [":datamanager_proto"],
372373
)
373374

google/ads/datamanager/v1/error.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,4 +339,11 @@ enum ErrorReason {
339339

340340
// The user list membership duration is too long.
341341
MEMBERSHIP_DURATION_TOO_LONG = 99;
342+
343+
// The `merchant_id` field is not valid.
344+
INVALID_MERCHANT_ID = 100;
345+
346+
// The customer contains non-exempt campaigns without the EU political
347+
// advertising declaration.
348+
EU_POLITICAL_ADVERTISING_DECLARATION_REQUIRED = 101;
342349
}

google/ads/datamanager/v1/partner_link_service.proto

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ service PartnerLinkService {
4848
// Google Account of the credentials is a user. If not set, defaults to the
4949
// account of the request. Format:
5050
// `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
51-
// * `linked-account`: (Optional) The resource name of the account with an
52-
// established product link to the `login-account`. Format:
53-
// `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
5451
rpc CreatePartnerLink(CreatePartnerLinkRequest) returns (PartnerLink) {
5552
option (google.api.http) = {
5653
post: "/v1/{parent=accountTypes/*/accounts/*}/partnerLinks"
@@ -70,9 +67,6 @@ service PartnerLinkService {
7067
// Google Account of the credentials is a user. If not set, defaults to the
7168
// account of the request. Format:
7269
// `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
73-
// * `linked-account`: (Optional) The resource name of the account with an
74-
// established product link to the `login-account`. Format:
75-
// `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
7670
rpc DeletePartnerLink(DeletePartnerLinkRequest)
7771
returns (google.protobuf.Empty) {
7872
option (google.api.http) = {
@@ -92,9 +86,6 @@ service PartnerLinkService {
9286
// Google Account of the credentials is a user. If not set, defaults to the
9387
// account of the request. Format:
9488
// `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
95-
// * `linked-account`: (Optional) The resource name of the account with an
96-
// established product link to the `login-account`. Format:
97-
// `accountTypes/{linkedAccountType}/accounts/{linkedAccountId}`
9889
rpc SearchPartnerLinks(SearchPartnerLinksRequest)
9990
returns (SearchPartnerLinksResponse) {
10091
option (google.api.http) = {

0 commit comments

Comments
 (0)