Hello!

I am trying to add a campaign via the CampaignService. The API returns a 
valid response, but when I go to find the Campaign in the AdWords Web UI, 
the Campaign doesn't show up. Any ideas?

Here are my SOAP request and response:


REQUEST

POST https://adwords.google.com/api/adwords/cm/v201402/CampaignService 
HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client 
Protocol 4.0.30319.17929)
Authorization: Bearer 
ya29.aQDPeqTfLlvtLxwAAACQUAMsDRIfisTuLHSYcPHQ3Jtu0t2IWNilpnF0OGsLDA
VsDebuggerCausalityData: 
uIDPoyEvzFfPv0xKpch/iNX2EFMAAAAAeGbowC87YkqGa1+PCKt1XK6OXAwiZ4lCtHsrW66MK+IACQAA
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Host: adwords.google.com
Content-Length: 1828
Accept-Encoding: gzip
Connection: Keep-Alive

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <soap:Header>
        <RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
            <developerToken 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>xxxxxxxxxxx</developerToken>
            <clientCustomerId 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>xxxxxxx</clientCustomerId>
            <userAgent 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>INSERT_YOUR_COMPANY_OR_APPLICATION_NAME_HERE
 
(AwApi-DotNet/16.7.0, Common-Dotnet/2.2.0, .NET CLR/4.0.30319.17929, 
gzip)</userAgent>
        </RequestHeader>
    </soap:Header>
    <soap:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
            <operations>
                <operator>ADD</operator>
                <operand>
                    <name>vince test 1109</name>
                    <status>PAUSED</status>
                    <budget>
                        <budgetId>277878389</budgetId>
                        <name>vince test 1109</name>
                        <period>DAILY</period>
                        <amount>
                            
<ComparableValue.Type>Money</ComparableValue.Type>
                            <microAmount>20000000</microAmount>
                        </amount>
                        <deliveryMethod>STANDARD</deliveryMethod>
                        <isExplicitlyShared>false</isExplicitlyShared>
                        <status>ACTIVE</status>
                    </budget>
                    
<adServingOptimizationStatus>ROTATE</adServingOptimizationStatus>
                    <settings xsi:type="KeywordMatchSetting">
                        <optIn>false</optIn>
                    </settings>
                    <advertisingChannelType>SEARCH</advertisingChannelType>
                    <networkSetting>
                        <targetGoogleSearch>true</targetGoogleSearch>
                        <targetSearchNetwork>true</targetSearchNetwork>
                        <targetContentNetwork>false</targetContentNetwork>
                        
<targetPartnerSearchNetwork>false</targetPartnerSearchNetwork>
                    </networkSetting>
                    <biddingStrategyConfiguration>
                        
<biddingStrategyType>MANUAL_CPC</biddingStrategyType>
                    </biddingStrategyConfiguration>
                </operand>
            </operations>
        </mutate>
    </soap:Body>
</soap:Envelope>


RESPONSE

HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Date: Fri, 22 Aug 2014 10:14:06 GMT
Expires: Fri, 22 Aug 2014 10:14:06 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 2466
Server: GSE

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
            <requestId>0005013518e4d6500a8083c64a0088d1</requestId>
            <serviceName>CampaignService</serviceName>
            <methodName>mutate</methodName>
            <operations>0</operations>
            <responseTime>553</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <mutateResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201402";>
            <rval>
                
<ListReturnValue.Type>CampaignReturnValue</ListReturnValue.Type>
                <value>
                    <id>221939909</id>
                    <name>vince test 1109</name>
                    <status>PAUSED</status>
                    <servingStatus>SUSPENDED</servingStatus>
                    <startDate>20140822</startDate>
                    <endDate>20371230</endDate>
                    <budget>
                        <budgetId>277878389</budgetId>
                        <name>vince test 1109</name>
                        <period>DAILY</period>
                        <amount>
                            
<ComparableValue.Type>Money</ComparableValue.Type>
                            <microAmount>20000000</microAmount>
                        </amount>
                        <deliveryMethod>STANDARD</deliveryMethod>
                        <isExplicitlyShared>false</isExplicitlyShared>
                        <status>ACTIVE</status>
                    </budget>
                    <conversionOptimizerEligibility>
                        <eligible>false</eligible>
                        
<rejectionReasons>CAMPAIGN_IS_NOT_ACTIVE</rejectionReasons>
                        
<rejectionReasons>CONVERSION_TRACKING_NOT_ENABLED</rejectionReasons>
                    </conversionOptimizerEligibility>
                    
<adServingOptimizationStatus>ROTATE</adServingOptimizationStatus>
                    <settings 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="GeoTargetTypeSetting">
                        <Setting.Type>GeoTargetTypeSetting</Setting.Type>
                        
<positiveGeoTargetType>DONT_CARE</positiveGeoTargetType>
                        
<negativeGeoTargetType>DONT_CARE</negativeGeoTargetType>
                    </settings>
                    <settings 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="KeywordMatchSetting">
                        <Setting.Type>KeywordMatchSetting</Setting.Type>
                        <optIn>false</optIn>
                    </settings>
                    <advertisingChannelType>SEARCH</advertisingChannelType>
                    <networkSetting>
                        <targetGoogleSearch>true</targetGoogleSearch>
                        <targetSearchNetwork>true</targetSearchNetwork>
                        <targetContentNetwork>false</targetContentNetwork>
                        
<targetPartnerSearchNetwork>false</targetPartnerSearchNetwork>
                    </networkSetting>
                    <biddingStrategyConfiguration>
                        
<biddingStrategyType>MANUAL_CPC</biddingStrategyType>
                        <biddingScheme 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="ManualCpcBiddingScheme">
                            
<BiddingScheme.Type>ManualCpcBiddingScheme</BiddingScheme.Type>
                            <enhancedCpcEnabled>false</enhancedCpcEnabled>
                        </biddingScheme>
                    </biddingStrategyConfiguration>
                    <displaySelect>true</displaySelect>
                </value>
            </rval>
        </mutateResponse>
    </soap:Body>
</soap: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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1c9e0a02-ab31-415f-b37f-63ad2e710cd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to