You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//1. Create label --> get labellID
var test_label = new TextLabel();
test_label.BackgroundColor = "#FFFFFF"; // In RGB: current setting white background
test_label.Description = "test_label_Location1"; // string for labeling...currently using location Number
List<LabelOperation> operations = new List<LabelOperation>();
// Creates the campaign label.
TextLabel label = new TextLabel()
{
BackgroundColor = "#FFFFFF", // In RGB: current setting white background
Description = "test_label_Location1" // string for labeling...
};
Google.Ads.GoogleAds.V8.Resources.Label label2 = new Label()
{
TextLabel = label
};
operations.Add(new LabelOperation()
{
Create = label2
});
Google.Ads.GoogleAds.V8.Services.MutateLabelsRequest request = new MutateLabelsRequest()
{
CustomerId = customerId.ToString(),
Operations = //read-only?
// bug report:
};
Expected behavior:
MutateLabelsRequest.Operations should not just be read-only (get). It should allow user to input as well (both get and set).
Client library version and API version:
Client library version: Google.Api.Gax.Grpc 3.6.0
Google Ads API version: V8
.NET version: netcoreapp3.1
Operating system: Windows 10
Please refer to the attachment for the code
The text was updated successfully, but these errors were encountered:
Describe the bug:
MutateLabelsRequest.Operations is currently set to "read-only". Users should be able to create new label with this function.
labelService: https://developers.google.com/google-ads/api/reference/rpc/v9/LabelService?hl=en
MutateLabelsRequest: https://developers.google.com/google-ads/api/reference/rpc/v9/MutateLabelsRequest
Steps to Reproduce:
Expected behavior:
MutateLabelsRequest.Operations should not just be read-only (get). It should allow user to input as well (both get and set).
Client library version and API version:
Client library version: Google.Api.Gax.Grpc 3.6.0
Google Ads API version: V8
.NET version: netcoreapp3.1
Operating system: Windows 10
Please refer to the attachment for the code
The text was updated successfully, but these errors were encountered: