RE: I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mahir, Thank you for raising this concern to the Google Ads API Forum. With regard to your concern, you can use this code as reference in Google Ads API. However, if the issue is still persisting I would suggest you reach out to the author of the PHP client library to get help here. You can

Re: I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread ma...@sumer.me
Thanks for your help. I solved like this: $ad = $googleAdsRow->getAdGroupAd()->getAd(); $responsiveSearchAdInfo = $ad->getResponsiveSearchAd(); $assets_headlines = $responsiveSearchAdInfo->getHeadlines(); foreach($assets_headlines as $asset){ echo $asset->getText(); } On

RE: I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
Hi Mahir, Thank you for raising this concern to the Google Ads API support team. With regard to your concern, you can use this code as reference in Google Ads API. However, if the issue is still persisting I would suggest you reach out to the author of the PHP client library to get help here.

I can't get Responsive Search Ads Headlines and Descriptions

2022-07-18 Thread ma...@sumer.me
Hi, I am using PHP Client Library. I get every metric, resource etc. except responsive search ads headlines and descriptions. When i run this code sample i get an error like this: print_r($googleAdsRow->getAdGroupAd()->getAd()->getResponsiveSearchAd()->getHeadlines()); *Fatal error*: Allowed