Hello, The AdGroupCriterionService <https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService> and CampaignCriterionService <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService> are used to manage criteria both at Ad Group level and the Campaign level. You will be able to query for the criterion <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CampaignCriterion#criterion> , modify bids <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CampaignCriterion#bidmodifier> and get the Campaign/AdGroup status <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CampaignCriterion#campaigncriterionstatus>. You may refer to this code sample <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/basicoperations/AddKeywords.java> which illustrates in detail on how to add keywords to an AdGroup using the AdGroupCriterionService. You may refer to the code sample <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201710/campaignmanagement/AddDraft.java> which demonstrates on how to modify bids using the CampaignCriterionService.
These code samples explains about these services and how they are used. I'd suggest that you take a look at these samples and let me know if you have any additional questions. Regards, Bharani, AdWords API Team On Wednesday, December 6, 2017 at 7:25:20 AM UTC-5, [email protected] wrote: > > Hi, > > How to use AdGroupCriterionService > <https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService> > or CampaignCriterionService > <https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService> > > in api.. > plz explain in code level..am really struggling in this > > Thanks > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/044c011d-a370-4ccf-8ed4-04db3dc623c0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
