Hi Denys,

Upon further investigation, I found that the TargetingCampaignId and 
TargetingAdGroupId are pulled from the feed data rather than the extension 
setting data. To get a list of AdGroups which don't have any sitelink 
extensions, do the following:

   1. Use AdGroupService 
   
<https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupService>
    or AdGroup Performance Report 
   
<https://developers.google.com/adwords/api/docs/appendix/reports/adgroup-performance-report>
 to 
   get a list of all the AdGroups in your account.
   2. Use AdGroupExtensionSettingService 
   
<https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupExtensionSettingService>
 to 
   get a list of all adgroup-level sitelink extensions (make sure to add a 
   predicate to filter only sitelinks).
   3. Remove AdGroups from step 2 from the list obtained in step 1 to get 
   all the AdGroups without sitelink extensions.

Let me know if this works.

Thanks,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0f05d100-d72b-49f7-80da-215625c2d5fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • A Report to dow... Denys Kovalenko
    • Re: A Repo... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
      • Re: A ... Denys Kovalenko
        • Re... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
          • ... Denys Kovalenko

Reply via email to