Hi,

I am a colleague of Dave. Allow me to provide further assistance for your
concern.

Can you confirm my understanding is correct? Based from the thread, I can
see that you wish to clone your campaigns. However, Dave has already
mentioned that this is not directly possible in the API. You have to
manually get the settings using the CampaignService.get() and use the
retrieved settings and configurations to create a new campaign, again by
using the CampaignService.mutate().

To better assist you, can you elaborate further what issues you are
currently encountering? I can see that you were able to successfully *GET *a
campaign in your SOAP logs. You may now use these settings to create a new
campaign. However, you have to implement this on your own as this is not
supported in the AdWords API.

Regards,
Dannison
Google Ads API Team



=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 05/12/19 04:16:30 [email protected] wrote:

Hello,
 I was able to extra request/response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809";>
<SOAP-ENV:Header>
<ns1:RequestHeader>
<ns1:clientCustomerId>xxxxxxxxxxxxx</ns1:clientCustomerId>
<ns1:developerToken>REDACTED</ns1:developerToken>
<ns1:userAgent>xxxxxxxxx
<ns1:validateOnly>false</ns1:validateOnly>
<ns1:partialFailure>false</ns1:partialFailure>
</ns1:RequestHeader>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:get>
<ns1:serviceSelector>
<ns1:fields>Id</ns1:fields>
<ns1:fields>CampaignGroupId</ns1:fields>
<ns1:fields>Name</ns1:fields>
<ns1:fields>Status</ns1:fields>
<ns1:fields>ServingStatus</ns1:fields>
<ns1:fields>StartDate</ns1:fields>
<ns1:fields>EndDate</ns1:fields>
<ns1:fields>AdServingOptimizationStatus</ns1:fields>
<ns1:fields>Settings</ns1:fields>
<ns1:fields>AdvertisingChannelType</ns1:fields>
<ns1:fields>AdvertisingChannelSubType</ns1:fields>
<ns1:fields>Labels</ns1:fields>
<ns1:fields>CampaignTrialType</ns1:fields>
<ns1:fields>BaseCampaignId</ns1:fields>
<ns1:fields>TrackingUrlTemplate</ns1:fields>
<ns1:fields>FinalUrlSuffix</ns1:fields>
<ns1:fields>UrlCustomParameters</ns1:fields>
<ns1:fields>SelectiveOptimization</ns1:fields>
<ns1:predicates>
<ns1:field>CampaignId</ns1:field>
<ns1:operator>EQUALS</ns1:operator>
<ns1:values>1828117917</ns1:values>
</ns1:predicates>
</ns1:serviceSelector>
</ns1:get>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<soap:Header>
<ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<requestId>000588a233dd34b90ae9ef0ffb0c9521</requestId>
<serviceName>CampaignService</serviceName>
<methodName>get</methodName>
<operations>1</operations>
<responseTime>455</responseTime>
</ResponseHeader></soap:Header>
<soap:Body>
<getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
<rval>
<totalNumEntries>1</totalNumEntries>
<Page.Type>CampaignPage</Page.Type>
<entries>
<id>1828117917</id>
<name>test campaign</name>
<status>PAUSED</status>
<servingStatus>SERVING</servingStatus>
<startDate>20190426</startDate>
<endDate>20371230</endDate>
<budget></budget>
<adServingOptimizationStatus>ROTATE_INDEFINITELY</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="ShoppingSetting">
<Setting.Type>ShoppingSetting</Setting.Type>
<merchantId>10677451</merchantId>
<salesCountry>NL</salesCountry>
<campaignPriority>0</campaignPriority>
</settings>
<advertisingChannelType>SHOPPING</advertisingChannelType>
<campaignTrialType>BASE</campaignTrialType>
<baseCampaignId>1828117917</baseCampaignId>
</entries>
</rval>
</getResponse>
</soap:Body>
</soap:Envelope>


Could you please explain what I'm doing wrong?

I'd like to know why I can't request budget and other fields to clone.

Thank you

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/53189a68-e481-43bb-b706-63bfed739200%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/53189a68-e481-43bb-b706-63bfed739200%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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].
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/18i35hg000000001gemcku000hokbqz6gmj0d1o68o30c1g68r32dpj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Clone C... TommyTek
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... TommyTek
    • Re... TommyTek
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to