Hello Thanet, Yes, I have confirmed same. There is any way to get only unique kws for all adgroups in one request?
Thanks On Thursday, 20 August 2015 12:12:18 UTC+5:30, Thanet Knack Praneenararat (AdWords API Team) wrote: > > Hello, > > Yes. Those keywords should be shared among many ad groups. > If you would like to confirm this, try adding *AdGroupId* in the selector > fields and printing it out. > > Cheers, > Thanet, AdWords API Team > > On Thursday, August 20, 2015 at 1:18:01 PM UTC+9, Chirag wrote: >> >> Hello Thanet, >> >> I am using the KeywordMatchType still getting same keywords multiple time. >> >> Please see the code : >> $adGroupCriterionService = >> $user->GetService('AdGroupCriterionService', ADWORDS_VERSION); >> >> // Create selector. >> $selector = new Selector(); >> $selector->fields = array('Id', 'CriteriaType', 'KeywordMatchType', >> 'KeywordText','CpcBid','FirstPageCpc'); >> $selector->ordering[] = new OrderBy('KeywordText', 'ASCENDING'); >> >> // Create predicates. >> $selector->predicates[] = new Predicate('AdGroupId', 'IN', $adGroupId); >> $selector->predicates[] = new Predicate('CriteriaType', 'IN', >> array('KEYWORD')); >> >> Please see my result. >> Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10005230' was found. >> Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10005230' was found. >> Keyword with text 'book', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10005230' was found. >> Keyword with text 'career', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10346710' was found. >> Keyword with text 'career', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10346710' was found. >> Keyword with text 'career', match type 'BROAD', criteria type 'KEYWORD', >> and ID '10346710' was found. >> Keyword with text 'careers', match type 'BROAD', criteria type 'KEYWORD', >> and ID '11904121' was found. >> Keyword with text 'careers', match type 'BROAD', criteria type 'KEYWORD', >> and ID '11904121' was found. >> Keyword with text 'careers', match type 'BROAD', criteria type 'KEYWORD', >> and ID '11904121' was found. >> Keyword with text 'certification', match type 'BROAD', criteria type >> 'KEYWORD', and ID '11904281' was found. >> Keyword with text 'certification', match type 'BROAD', criteria type >> 'KEYWORD', and ID '11904281' was found. >> Keyword with text 'certification', match type 'BROAD', criteria type >> 'KEYWORD', and ID '11904281' was found. >> >> Is that case, same keywords shared with multiple AdgroupId? >> >> Please advice. >> >> Thanks, >> >> >> On Thursday, 9 April 2015 21:16:58 UTC+5:30, Thanet Knack Praneenararat >> (AdWords API Team) wrote: >>> >>> Hi, >>> >>> Please try using *KeywordMatchType* instead of *MatchType *in line 80 >>> of the example >>> <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201502/basicoperations/GetKeywords.java#L80> >>> . >>> I'll make a note to ensure we update our examples accordingly. >>> >>> Cheers, >>> Thanet >>> >>> On Wednesday, April 8, 2015 at 6:57:00 PM UTC+1, Aditya wrote: >>>> >>>> I'm running the standard GetKeywords.java from the library. I put in >>>> the ID for a test ad group that I set up (with just a few keywords). This >>>> program prints out the expected results, but each one is printed out 3 >>>> times in a row. I can't see anything obvious in the code that would cause >>>> these to be printed out multiple times, so does anyone have an idea what >>>> might be happening? >>>> >>>> Here's an example of what I see: >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "11744392", text "dynamics" and match type "BROAD" was found. >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "11744392", text "dynamics" and match type "BROAD" was found. >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "11744392", text "dynamics" and match type "BROAD" was found. >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "17359491", text "app" and match type "BROAD" was found. >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "17359491", text "app" and match type "BROAD" was found. >>>> >>>> Keyword ad group criterion with ad group id "19839877629", criterion id >>>> "17359491", text "app" and match type "BROAD" was found. >>>> >>> -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/cb4bf2c3-530d-46b7-ab72-75a58b6388ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.