Hi,

I using the Java SDK with v201710,

I have a question about to get the Campaign(1336308160) infos,
when I tried to get a Campaign(1336308160) info by this selector,

Selector{fields=[Id, Name], ordering=[], predicates=[Predicate{field=Id, 
operator=IN, values=[1336308160]}]}

I got no entries, so I checked the AdWords Platform 
(https://adwords.google.com/aw/campaigns?ocid=131846405&__c=7753892261&authuser=0&__u=8392793261),
I found the campaign is existed, but I can not fetch it by SDK, I don't 
know why ?

<https://lh3.googleusercontent.com/-kHBEsDOzof0/Wryd_l4gX1I/AAAAAAAAAC8/rFm51gH1-S43HYXm-VGDrDR1iQQi7jyCACLcBGAs/s1600/%25E8%259E%25A2%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7%2B2018-03-29%2B%25E4%25B8%258B%25E5%258D%25883.43.03.png>



then I download a AdGroups report(ADGROUP_PERFORMANCE_REPORT) of the 
Campaign(1336308160) by SDK,
its succeed to download (Include zero impression == true), 

if I can not access campaign info, why download adGroup report succeed ?
and how to fix it to get the campaign info ?

AdWordsServicesInterface adWordsServices = AdWordsServices.getInstance();
CampaignService campaignService = adWordsServices.get(adWordsSession, 
CampaignServiceInterface.class);

Selector selector = new SelectorBuilder()
            .fields(CampaignField.Id, CampaignField.Name)
            .in(CampaignField.Id, "1336308160")
            .build();

CampaignPage campaignPage = campaignService.get(selector);


Sorry, English is not my native language,

thanks your help.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1288878d-4eba-4249-b3fc-dafb7fe2515f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • I saw the ca... jerry
    • Re: I s... 'Dhanya Sundararaju (AdWords API Team)' via AdWords API Forum

Reply via email to