I've sent the following request:

https://adwords.google.com/api/adwords/cm/v201809/CampaignService
Content-Type: text/xml; charset=utf-8
Authorization: Bearer {token}
accept-encoding: gzip

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
                   
xmlns:tns="https://adwords.google.com/api/adwords/cm/v201809";
                   xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";
                   
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809";>
    <SOAP-ENV:Header>
        <tns:RequestHeader>
            <tns:clientCustomerId>6266584989</tns:clientCustomerId>
            <tns:developerToken>{dev token}</tns:developerToken>
            <tns:userAgent>{agent}</tns:userAgent>
            <tns:validateOnly>false</tns:validateOnly>
            <tns:partialFailure>false</tns:partialFailure>
        </tns:RequestHeader>
    </SOAP-ENV:Header>
    <ns0:Body>
        <ns1:get>
            <ns1:serviceSelector>
                <ns1:fields>Id</ns1:fields>
                <ns1:fields>Name</ns1:fields>
                <ns1:fields>Status</ns1:fields>
                <ns1:predicates>
                    <ns1:field>Status</ns1:field>
                    <ns1:operator>IN</ns1:operator>
                    <ns1:values>ENABLED</ns1:values>
                    <ns1:values>PAUSED</ns1:values>
                </ns1:predicates>
            </ns1:serviceSelector>
        </ns1:get>
    </ns0:Body>
</SOAP-ENV:Envelope>

And get the following response:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
            <requestId>00059a11bb39bc260ae9e88a440d0e23</requestId>
            <serviceName>CampaignService</serviceName>
            <methodName>get</methodName>
            <operations>1</operations>
            <responseTime>181</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <getResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
            <rval>
                <totalNumEntries>0</totalNumEntries>
                <Page.Type>CampaignPage</Page.Type>
            </rval>
        </getResponse>
    </soap:Body>
</soap:Envelope>

But this account has at list enabled 3 campaigns. They are app campaigns, 
not video. Why I can't get them with API?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/16f8d89a-37d2-4972-a9db-eea0ca298f9b%40googlegroups.com.

Reply via email to