Please let me know with an example in selector for campaign how to pass the clientCustomerId and fetch the values. in equals condition what need to be passed please let me know.
// Create selector. SelectorBuilder builder = new SelectorBuilder(); Selector selector = builder .fields(CampaignField.Id, CampaignField.Name, CampaignField.Status, CampaignField.CampaignTrialType) // .equals(customerId, "429-320-4263") .orderAscBy(CampaignField.Name) .offset(offset) .limit(PAGE_SIZE) .build(); On Tuesday, November 22, 2016 at 2:53:44 PM UTC-6, Vishal Vinayak (Adwords API Team) wrote: > > Hi, > > In order to fetch data from a particular account, please ensure that the > 10 digit AdWords account ID for that account is defined against the > property *clientCustomerId* in your properties file. As an example, if > you use the Java client library, you would need to define the relevant > account ID here > <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/resources/ads.properties#L15>. > > If you prefer to use an AdWords session object (instead of properties > file, as mentioned here > <https://developers.google.com/adwords/api/docs/guides/samples-use-cases#anatomy_of_an_api_code_sample>), > > you would need to update the value of the variable to the respective > account ID. Once you have the account ID defined correctly, you should be > able to fetch relevant data from that account. Lastly, please ensure that > you use your AdWords client account ID (and not the manager account ID) as > the clientCustomerId when trying to fetch campaings related information for > an account. > > 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/ad6274b5-cc1b-45a0-846b-dacb2310ce39%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.