I guess there is this bug I brought up:

By the way, the for loop with the comment saying "Fixed bug", that is 
because the update mask was made wrong... It came out like this by default 
(immediately fails):
update_mask { 
....paths: "update.resource_name" 
....paths: "update.final_urls"
} 
update { 
....resource_name: "customers/0000000000/ads/000941170000" 
....final_urls: "https://www.example.app/";
} 
So, the for loop is fixing that bug. 

With that though, the bug occurred client-side, on my workstation. It 
resulted in a malformed request, as each path in the field mask was 
prefixed with "update."
Is this the error you're referring to?


On Wednesday, April 5, 2023 at 3:25:37 PM UTC-7 Chad Wood wrote:

> Based on your explanation, it sounds like the error I've received is the 
> expected behavior.
> By my understanding, the API does not support our need and there are no 
> alternatives.
>
> "Since you are using AdService 
> <https://developers.google.com/google-ads/api/reference/rpc/v13/AdService>, 
> kindly note that updating ads is not supported for TextAd, 
> ExpandedDynamicSearchAd, GmailAd and ImageAd" 
> and "So there is no other API that can be used to modify your Ad." 
>
> So, if I may ask, what is left to investigate? How would be logs help do 
> anything *beside *confirm that the expected behavior was my result?
> On Wednesday, April 5, 2023 at 1:42:21 PM UTC-7 Google Ads API Forum 
> Advisor wrote:
>
>> Hello,
>>
>> Thank you for getting back to us.
>>
>> Please note that the *Google Ads API* manages accounts from the customer 
>> level down to the keyword level. The API can do what the Google Ads UI 
>> does, but *programmatically*. So there is no other API that can be used 
>> to modify your Ad.
>>
>> I would really like to investigate this error further, would you please 
>> provide us with the complete *request* and *response logs* with *request 
>> ID* generated as shown in the respective links, so we can check on our 
>> end the errors being thrown?
>>
>> If you haven't enabled logging yet, it can be enabled by navigating to 
>> the Client libraries > Your client library (ex. Java) > *Logging 
>> documentation*(via this link 
>> *https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging*
>>  
>> <https://developers.google.com/google-ads/api/docs/best-practices/logging#client_library_logging>),
>>  
>> which you can access from this link. For REST interface requests, you can 
>> enable logging via the curl command by using the -i flag.
>>
>> You can provide it via Reply privately to the author option. If this 
>> option is not available, then send it instead on this email address 
>> googleadsa...@google.com. 
>>
>> Reference Links:
>> *Request* - 
>> *https://developers.google.com/google-ads/api/docs/concepts/field-service#request*
>>  
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#request>
>> *Response Logs* - 
>> *https://developers.google.com/google-ads/api/docs/concepts/field-service#response*
>>  
>> <https://developers.google.com/google-ads/api/docs/concepts/field-service#response>
>> *Request ID* - 
>> *https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id*
>>  
>> <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id>
>>
>> Regards,
>> [image: Google Logo] Google Ads API Team 
>>
>> ref:_00D1U1174p._5004Q2kFRLt:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cea3af45-5135-4422-a302-bbd75297aa1bn%40googlegroups.com.
  • At... Chad Wood
    • ... Chad Wood
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Chad Wood
          • ... Chad Wood
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to