My 2 cents... The ad_group_ad.ad object in the Google Ads API is a polymorphic object. It can contain different types of ads (text ads, image ads, video ads, etc.). The fields available within ad_group_ad.ad depend on the specific ad type. If the ad is a text ad, ad_group_ad.ad.name will be populated. If it's a different type of ad, that field will be null.
Blobr - AI agents to optimise Google Ads spending https://www.blobr.io/ On Friday, 14 February 2025 at 19:05:51 UTC+1 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for reaching out to the Google Ads API support team. > > I would request you to provide us the API response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs > along with the uncropped UI screenshot by highlighting the fields that > you're trying to retrieve via the API to better assist you on this request. > > If you are using a client library and haven't enabled the logging yet, I > would request you to enable logging for the > specific client library that you are using. You can refer to the guides > *Java* > <https://developers.google.com/google-ads/api/docs/client-libs/java/logging> > , *.Net* > <https://developers.google.com/google-ads/api/docs/client-libs/dotnet/logging> > , *PHP* > <https://developers.google.com/google-ads/api/docs/client-libs/php/logging> > , *Python* > <https://developers.google.com/google-ads/api/docs/client-libs/python/logging> > , *Ruby* > <https://developers.google.com/google-ads/api/docs/client-libs/ruby/logging> > or *Perl* > <https://developers.google.com/google-ads/api/docs/client-libs/perl/logging> > to > enable logging at your end. For REST interface requests, you can > enable logging via the curl command by using the -i flag. > > You can send the details via *Reply privately to the author option*, or > *direct private reply* to this email. > > This message is in relation to case > "ref:!00D1U01174p.!5004Q02vH1v7:ref" (ADR-00288370) > > Thanks, > > [image: Google Logo] Google Ads API Team > Feedback > How was our support today? > > [image: rating1] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=1&entry.295079254=5004Q00002vH1v7QAC> > > [image: rating2] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=2&entry.295079254=5004Q00002vH1v7QAC> > > [image: rating3] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/viewform?usp=pp_url&entry.141427034=3&entry.295079254=5004Q00002vH1v7QAC> > > [image: rating4] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=4&entry.295079254=5004Q00002vH1v7QAC> > > [image: rating5] > <https://docs.google.com/forms/d/e/1FAIpQLSeRhIg5VeThVmbcD0c5DTWTDjmpJuSktN8vFelEL7_KV_Orbg/formResponse?usp=pp_url&entry.141427034=5&entry.295079254=5004Q00002vH1v7QAC> > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 visit https://groups.google.com/d/msgid/adwords-api/71303842-c3a7-46cb-b8f4-e6e29ac26e8cn%40googlegroups.com.