Hi
Have taken Ads list using selectors as like in below code, $session = 
self::setSession();
        $adWordsServices = new AdWordsServices();
        $adService = $adWordsServices->get($session, AdService::class);
        $adGroupAdService = $adWordsServices->get($session, 
AdGroupAdService::class);
        // $AdId = intval($AdId);
        $adData = array();
           $selector = new Selector();
        $selectors = 
array('Id','BaseCampaignId','AdType','MultiAssetResponsiveDisplayAdMarketingImages',
 
'MultiAssetResponsiveDisplayAdSquareMarketingImages', 
'MultiAssetResponsiveDisplayAdLandscapeLogoImages', 
'MultiAssetResponsiveDisplayAdLogoImages', 
'MultiAssetResponsiveDisplayAdHeadlines','MultiAssetResponsiveDisplayAdLongHeadline',
 
'MultiAssetResponsiveDisplayAdBusinessName', 
                    'MultiAssetResponsiveDisplayAdDescriptions', 
'DisplayUrl','CreativeFinalUrls','CreativeFinalUrlSuffix','MultiAssetResponsiveDisplayAdCallToActionText');
       $selector->setFields($selectors);
            $result = $adGroupAdService->get($selector);
But it is not return Campaign name, Adgroup name, i van get it by calling 
particular service since am getting id in current list. Is there any other 
easy way to get it? i just want to minimize API hit.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/68b56886-0f30-4d24-9b42-5f0488396477o%40googlegroups.com.

Reply via email to