Hi, There is no provision to pass an AdWords account ID in your selector. As explained in my previous response, all you need to get started is to define your 10 digit AdWords account ID as the *clientCustomerId* in your local properties file <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/resources/ads.properties#L15>. If you prefer to pass the client customer ID at runtime, you can do so with an AdWords Session object <https://developers.google.com/adwords/api/docs/guides/samples-use-cases#anatomy_of_an_api_code_sample> as follows:
AdWordsSession session = new AdWordsSession.Builder().fromFile().withOAuth2Credential(oAuth2Credential).build(); session.setClientCustomerID("123-456-7890"); To select an individual campaign, you can use a predicate <https://developers.google.com/adwords/api/docs/reference/v201609/CampaignService.Predicate> such as follows: Predicate predicate = new Predicate(); predicate.setField("CampaignId"); predicate.setOperator(PredicateOperator.EQUALS); predicate.setValues(new String[]{"1234567890"}); selector.setPredicates(new Predicate[] {predicate}); The above code will add the following to your SOAP request XML: <predicates> <field>CampaignId</field> <operator>EQUALS</operator> <values>1234567890</values> </predicates> Regards, Vishal, 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/134ad389-e941-4480-ac44-00180e03a037%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.