Hi, Your variables *cId, cs, *and *r *do not have the correct values in them. You will need to use the values from the *ads.properties *file or replace *.withClientSecrets(cId, cs).withRefreshToken(r)* with *fromFile().*
The DFP API forum will have a better idea of whether you can extract targeting using DFP API, so I suggest posting the question on their forum <https://groups.google.com/forum/#!forum/google-doubleclick-for-publishers-api> . Regards, Anthony 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 http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/204c65ba-000c-4b7c-b3b1-21d0383c16f3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.