Hi Hannes, You can refer to this guide <https://developers.google.com/adwords/api/docs/guides/awql#using_awql_in_service_calls> on how to properly form your AWQL query for the service that you need. You may also consider using the SELECTOR class instead as seen in this example <https://developers.google.com/adwords/api/docs/samples/java/basic-operations#get-the-ad-groups-of-a-campaign> in order to retrieve all the ad groups associated to a specific campaign.
Let me know if this helps. Thanks and regards, Peter AdWords API Team On Friday, January 4, 2019 at 3:36:21 PM UTC+8, han...@outlook.de wrote: > > Hi > > i want to itereate through alle existing (~100] adgroups and change the > Add Snippets. > So i need something like this > > Dim q = adGroupService.query("SELECT AdGroupId,AdGroupName") > > if it would work, I wouldnt post :-( > > give some hints > > PS the code general works, can add snippet if i hard code Adgroupid, just > the how to get the list of Adgroups > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 "AdWords API and Google Ads 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/bec99a5b-403f-48b9-b03d-0cdea379b026%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.