Hi, Please see my response to your existing thread:
http://groups.google.com/group/adwords-api/browse_thread/thread/27ea19744790760b/ Best, - Eric On Dec 13, 9:27 pm, SuntekSolutions <svid...@gmail.com> wrote: > Thanks Eric that worked. I now have another issue: > > When I use the AdGroupAdSelector to select my ads in a adgroup it > only > returns the textAds without the productAds that are in the group. How > can I also get the product ads so that I can minipulate the promotion > text with the correct price for my product that I am selling? Code > below: > > a_service = > CType(User.GetService(Google.Api.Ads.AdWords.Lib.AdWordsService.v201008.AdG > roupAdService), > AdGroupAdService) > Dim a_selector As New AdGroupAdSelector() > Dim a_stat As New AdStatsSelector() > a_stat.dateRange = StatsSelector.dateRange > a_selector.statsSelector = a_stat > a_selector.adGroupIds() = New Long() {gID} > > Dim a_page As AdGroupAdPage = a_service.get(a_selector) > Dim lst As New List(Of AdGroupAd) > > On Dec 13, 6:57 am, AdWords API Advisor <adwordsapiadvi...@google.com> > wrote: > > > > > > > > > Hi, > > > You must specify the type of AdGroupCriterion, in this case > > BiddableAdGroupCriterion. AdGroupCriterion is a base class and cannot > > be used when adding a new criterion. > > > Best, > > - Eric > > > On Dec 10, 7:47 pm, SuntekSolutions <svid...@gmail.com> wrote: > > > > Hi Eric, > > > > Thanks for the help. I tried this but when I call the service I get a > > > Adgroupcriterionerror of: AdGroupCriterionError.CONCRETE_TYPE_REQUIRED > > > > When I looked this up it says that I need a type of keyword or > > > placement. But I am not doing either of these types when doing > > > product. Here is my code: > > > > Dim pc As New ProductCondition() > > > pc.operand = New ProductConditionOperand() > > > pc.operand.operand = "adwords_grouping" > > > pc.argument = curProduct.ProductGroupID > > > > Dim pro As New Product > > > pro.conditions = New ProductCondition() {pc} > > > > Dim pCriterion As New AdGroupCriterion() > > > pCriterion.adGroupId = gID > > > pCriterion.criterion = pro > > > > Dim k_service As AdGroupCriterionService = > > > CType(User.GetService(Google.Api.Ads.AdWords.Lib.AdWordsService.v201008.AdG > > > roupCriterionService), > > > AdGroupCriterionService) > > > Dim a_operation As New AdGroupCriterionOperation > > > a_operation.operatorSpecified = True > > > a_operation.operator = [Operator].ADD > > > a_operation.operand = pCriterion > > > > On Dec 10, 3:07 pm, AdWords API Advisor <adwordsapiadvi...@google.com> > > > wrote: > > > > > Hi, > > > > > You can use Product criteria to add this product targeting information > > > > to an ad group: > > > > > http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCrit... > > > > > We don't have any example that show how to create product criteria, > > > > but it's very similar to adding other types of criteria: > > > > > http://code.google.com/p/google-api-adwords-java/source/browse/trunk/... > > > > > Best, > > > > - Eric Koleda, AdWords API Team > > > > > On Dec 9, 2:48 am, SuntekSolutions <svid...@gmail.com> wrote: > > > > > > Hi, Googs! I have over 4000 adgroups accoss my campaigns. Each adgroup > > > > > represents a specific product group (with different sizes and > > > > > flavors). I have added the group code for those items to my google > > > > > base data feed (adwords_grouping). Now I just need the ability to tag > > > > > each adgroup in adwords with the product target for that grouping. > > > > > Currently I am having to click on each adgroup and manually use the > > > > > adwords interface to assign the group number with the adwords_grouping > > > > > target attribute to the adgroup. > > > > > > Is there a way and if not will there be a way to assign a product > > > > > target or auto target to a adgroup via the adwords API? Looking > > > > > through the API I see there is productextension class derived from > > > > > adextension class, but its not used anywhere in the examples provided. > > > > > When I use the override service an error is returned that says only > > > > > location extensions can override campaign extensions. But really > > > > > extensions isnt what we need, we are looking to activate a productAd > > > > > via auto targets or product targets via the API. Is the any hope? Or > > > > > keep working manually through the adwords interface?- Hide quoted > > > > > text - > > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text - -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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