Hi,

The request itself is fine as far as I can tell, except for the fact
that campaignStatuses node doesn't have a CampaignService prefix, and
hence that node might be in a different xml namespace. So the server
might be ignoring the node and returning you all the campaigns instead
of just the ACTIVE campaigns.

Could you fix your request xml to add the missing prefix to
campaignStatuses node and see if that fixes the issue?

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Nov 16, 2:09 am, addict <marco.bigo...@gmail.com> wrote:
> I want to get all active campaigns. But i get all campaigns (active,
> paused and deleted)
> I use v200909
>
> Here is my SOAP-Request:
>
> CampaignService:get>
>       <CampaignService:selector>
>         <campaignStatuses>ACTIVE</campaignStatuses>
>         <CampaignService:statsSelector>
>           <CampaignService:dateRange>
>             <CampaignService:min>19700101</CampaignService:min>
>             <CampaignService:max>20310101</CampaignService:max>
>           </CampaignService:dateRange>
>         </CampaignService:statsSelector>
>         <CampaignService:paging>
>           <CampaignService:startIndex>0</CampaignService:startIndex>
>           <CampaignService:numberResults>28</
> CampaignService:numberResults>
>         </CampaignService:paging>
>       </CampaignService:selector>
>     </CampaignService:get>
>
> What is wrong with my request?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

Reply via email to