Hi all, 

I'm facing a problem where some of the campaigns seem unable to grab by 
using the Adwords API but I was able to see it in the Adwords UI. 

 

Here are the factions of the code:


CampaignService campaignService = 
(CampaignService)user.GetService(AdWordsService.v201710.CampaignService);

            Selector selectorCS = new Selector();
            selectorCS.fields = new string[] { "Id", "Name", "Status" };
            selectorCS.paging = new Paging();

            Predicate predicateCS = new Predicate();
            predicateCS.field = "CampaignStatus";
            predicateCS.@operator = PredicateOperator.IN;
            predicateCS.values = new string[] { "ENABLED", "PAUSED", "REMOVED" 
};
            selectorCS.predicates = new Predicate[] { predicateCS };

            CampaignPage page = new CampaignPage();
            page = campaignService.get(selectorCS);

            if (page.totalNumEntries > 0)


I have authenticated successfully by using OAuth with the necessary 
credentials. Some of the clientCustomerID that I supplied managed to get 
something out (page.totalNumEntries > 0), but not all even the campaign 
status is "Enabled". 

 

Appreciate the help from all the experts. Please enlightened me a little


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/75086fa5-e242-40f7-b023-f37227cb945e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Some Campaign... Raymond Au Yong
    • Re: Some... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum
    • Re: Some... 'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum

Reply via email to