Hi,

I'm trying to get Campaign out of a CustomerId but i get an empty result

The account budget has ended AND no ads are running (nothing since sep 
2016)!
Reading the api documentation i don't see why i shouldn't retrieve campaign 
even ended... but any try goes to an empty answer

I tried to add predicate on Status and ServingStatus to include everything 
but still no result

Is there something i missed??

Thanks for your help



<x:Envelope xmlns:x="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v="https://adwords.google.com/api/adwords/cm/v201708";>
    <x:Header>
        <v:RequestHeader>
            <v:clientCustomerId>XXX-XXX-XXXX</v:clientCustomerId>
            <v:developerToken>XXXXXXXXXXX</v:developerToken>
        </v:RequestHeader>
    </x:Header>
    <x:Body>
        <v:get>
            <v:serviceSelector>
                <v:fields>Id</v:fields>
                <v:fields>Name</v:fields>
                <v:fields>Status</v:fields>
                <v:fields>ServingStatus</v:fields>
                
                <v:predicates>
                    <v:field>Status</v:field>
                    <v:operator>IN</v:operator>
                    <v:values>ENABLED</v:values>
                    <v:values>PAUSED</v:values>
                    <v:values>REMOVED</v:values>
                </v:predicates>
                <v:predicates>
                    <v:field>ServingStatus</v:field>
                    <v:operator>IN</v:operator>
                    <v:values>SERVING</v:values>
                    <v:values>NONE</v:values>
                    <v:values>ENDED</v:values>
                    <v:values>PENDING</v:values>
                    <v:values>SUSPENDED</v:values>
                </v:predicates>
                
                <v:ordering>
                    <v:field>Name</v:field>
                    <v:sortOrder>ASCENDING</v:sortOrder>
                </v:ordering>
                <v:paging>
                    <v:startIndex>0</v:startIndex>
                    <v:numberResults>500</v:numberResults>
                </v:paging>
            </v:serviceSelector>
        </v:get>
    </x:Body>
</x:Envelope>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1edbf92c-6ab8-4384-a158-ff945f842d39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • CampaignService... Roger
    • Re: Campai... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to