Try to update ad group keyword

45 views
Skip to first unread message

RAN HU

unread,
Nov 13, 2018, 5:33:35 PM11/13/18
to AdWords API and Google Ads API Forum
Hi Google,

Try to update ad group keywords

folowing is soap request

<?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:tns="https://adwords.google.com/api/adwords/cm/v201809" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"><soap:Header><ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809" xmlns="https://adwords.google.com/api/adwords/cm/v201809"><ns1:developerToken></ns1:developerToken><ns1:userAgent></ns1:userAgent><ns1:validateOnly>false</ns1:validateOnly><ns1:clientCustomerId>466-486-9756</ns1:clientCustomerId></ns1:RequestHeader></soap:Header><soap:Body><mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809"><operations><operator>SET</operator><operand xsi:type="BiddableAdGroupCriterion"><adGroupId>67565296692</adGroupId><criterion xsi:type="Keyword"><id>570779695132</id><type>KEYWORD</type><Criterion.Type>Keyword</Criterion.Type><text>TEST1 22222222</text><matchType>PHRASE</matchType></criterion><userStatus>ENABLED</userStatus><finalUrls><urls>http://www.example.com/mars</urls></finalUrls></operand></operations></mutate></soap:Body></soap:Envelope>

but it does NOT update keyword of criterion

Thanks,
Ran

Dannison Yao (AdWords API Team)

unread,
Nov 13, 2018, 5:59:56 PM11/13/18
to AdWords API and Google Ads API Forum
Hi Ran,

Could you provide the complete SOAP request and response logs that show it does not update the keyword via reply privately to author so I could investigate this further?

Regards,
Dannison
AdWords API Team

Dannison Yao (AdWords API Team)

unread,
Nov 14, 2018, 12:46:42 PM11/14/18
to AdWords API and Google Ads API Forum
Hi Ran,

I have received the requested information you provided privately on another thread. For better communication, I will respond in this thread.

Upon my investigation, I was not able to find the adGroupId you are using. Could you confirm that this adGroupId (63567506098) still exists in your account? You may confirm this by running the AdGroupService.get() and see if the adGroupId (63567506098) is returned in this service.  I asked this because upon checking from my end, it appears that this adGroup doesn't belong to any campaign and might have caused the issue why the keyword update is not working properly.

If it was not returned, could you change the adGroupId to a valid or existing one before doing your service call again? After changing the adGroupId and it still did not update your keyword, kindly provide the complete SOAP request and response logs that were generated by using the reply privately to author in this thread so I could investigate further. However, if it returns the specified adGroupId, kindly inform me the campaignId it belongs to so I could check on this further.

Regards,
Dannison
AdWords API Team

On Wednesday, November 14, 2018 at 6:33:35 AM UTC+8, RAN HU wrote:

Rahat

unread,
Dec 3, 2018, 12:30:28 AM12/3/18
to AdWords API and Google Ads API Forum

Rahat

unread,
Dec 11, 2018, 10:19:52 AM12/11/18
to AdWords API and Google Ads API Forum
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
  (adsbygoogle = window.adsbygoogle || []).push({
    google_ad_client: "ca-pub-5768703770817569",
    enable_page_level_ads: true
  });
</script>

Dannison Yao (AdWords API Team)

unread,
Dec 11, 2018, 9:15:27 PM12/11/18
to AdWords API and Google Ads API Forum
Hi Rahat,

If you have concerns or issue with the AdWords API, could you open your concern in a new thread and elaborate further so I could better assist you?

Regards,
Dannison
AdWords API Team

Reply all
Reply to author
Forward
0 new messages