Hello, 

Am trying to Mutate Customer Labels, (assign a label of a managing account 
to a managed account). 

The request looks like (Go):

 operations = append(operations, &services.CustomerLabelOperation{
Operation: &services.CustomerLabelOperation_Create{
Create: &resources.CustomerLabel{
Customer: &wrappers.StringValue{
Value: resourcenames.Customer(req.AccountId),
},
Label: &wrappers.StringValue{
Value: resourcenames.Label(parsedManagerAccountID, labelID),
},
},
},
})

if _, err := s.CustomerLabelServiceClient.MutateCustomerLabels(ctx, 
&services.MutateCustomerLabelsRequest{
CustomerId: fmt.Sprint(req.AccountId),
Operations: operations,
}); err != nil {
return nil, err
}

The problem is the error response details am getting just return:


Request contains an invalid argument.

Ctype.googleapis.com/google.ads.googleads.v4.errors.GoogleAdsFailure
The error code is not in this version.


This suggests that the error enum is missing a case. There is no 
unpublished error like there is in some other situations like this. 

I've tried v3 and v4 of the Ads API Beta with the same outcome using 
https://github.com/googleapis/go-genproto 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b1c64472-0bd3-4804-b1fd-0e6f6802eb36n%40googlegroups.com.

Reply via email to