Hello Anthony, I tried that and still the same. the code now looks like this:
Ad ad = googleAdsRow.getAdGroupAd().getAd(); ShoppingProductAdInfo shoppingProductAd = googleAdsRow.getAdGroupAd().getAd().getShoppingProductAd(); System.out.println(shoppingProductAd.toString()); I tried this version as well with no success Ad ad = googleAdsRow.getAdGroupAd().getAd(); ShoppingProductAdInfo shoppingProductAd = ad.getShoppingProductAd(); System.out.println(shoppingProductAd.toString()); Appreciate your help. Thank you On Thu, Aug 20, 2020 at 10:32 AM Google Ads API Forum Advisor Prod < [email protected]> wrote: > Hi Ahmed, > > Please try to update the following lines: > AdGroupAd adGroupAd =googleAdsRow.getAdGroupAd(); > Ad ad = adGroupAd.getAd(); > to > Ad ad = googleAdsRow.getAdGroupAd().getAd(); > > Regards, > Anthony > Google Ads API Team > > ref:_00D1U1174p._5004Q23LHe7: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 [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/CAP2chZpTd%2BoJcGgakk46frvXC01a%3DtfDb7zi_gGD_0u2pXAuzA%40mail.gmail.com.
