No Return Response but added value on live Google Ads

36 views
Skip to first unread message

Rajendra Yadav

unread,
Feb 28, 2023, 9:45:28 PM2/28/23
to Google Ads API and AdWords API Forum
Hi

I have used below code it is not returning any response  Please suggest me

Below Function not return any response 
"customizerAttributeService.MutateCustomizerAttributes(customerId.ToString(),
                        new[] { textAttributeOperation });"


Sample Code I used

CustomizerAttribute textAttribute = new CustomizerAttribute()
                {
                    Name = "Test",
                    Type = CustomizerAttributeType.Text
                };

                CustomizerAttributeOperation textAttributeOperation = new CustomizerAttributeOperation()
                {
                    Create = textAttribute
                };

                MutateCustomizerAttributesResponse response =
                    customizerAttributeService.MutateCustomizerAttributes(customerId.ToString(),
                        new[] { textAttributeOperation });

                string customizerAttributeResourceName = response.Results[0].ResourceName;
                Console.WriteLine($"Added text customizer attribute with resource name" +
                    $" '{customizerAttributeResourceName}'.");

Google Ads API Forum Advisor

unread,
Mar 1, 2023, 6:11:14 AM3/1/23
to rajen...@gmail.com, adwor...@googlegroups.com
Hi Rajendra,

Thank you for raising this concern to the Google Ads API Forum. 

It appears that you are using the CustomizerAttributeService. You may find this document a good resource to check when managing the customizer attribute in the Google Ads API. To better investigate this on our end, why is there no response for the said function? Could you please provide the complete logs within the format of the request and response with request-id that were generated on your end? I asked this since it is expected to have logs, the request you made or even the status of the request (ex: HTTP/1.1 200 OK).

If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

For security purposes, you can provide it via the Reply privately to author option. If this option is not available, then send it instead on this email address googleadsapi-support@google.com.

Best regards,
Google Logo Google Ads API Team


ref:_00D1U1174p._5004Q2jHwTa:ref
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages