Hi Dmitry,

Thank you for reaching out. From your provided logs, it looks like you need to 
create a BiddableAdGroupCriterion to add your Keyword to in order to make the 
request. I was able to do this successfully and have attached the XML header of 
my request. Please let me know if this solves your error.


Regards,

Mitchell

Google Ads API Team
ref:_00D1U1174p._5001UMWGDH:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/R-vMH000000000000000000000000000000000000000000000Q0I95T00s3z96BDpTsaKRCE-9XvYXw%40sfdc.net.
SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
        
    <soapenv:Header>
                
        <ns1:RequestHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201809"; 
soapenv:mustUnderstand="0">
                        
            <ns1:clientCustomerId>xxx-xxx-xxxx</ns1:clientCustomerId>
                        
            <ns1:developerToken>REDACTED</ns1:developerToken>
                        
            <ns1:userAgent>unknown (AwApi-Java, AdWords-Axis/4.7.0, 
Common-Java/4.7.0, Axis/1.4, Java/12.0.2, maven)</ns1:userAgent>
                        
            <ns1:validateOnly>false</ns1:validateOnly>
                        
            <ns1:partialFailure>false</ns1:partialFailure>
                    
        </ns1:RequestHeader>
            
    </soapenv:Header>
        
    <soapenv:Body>
                
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
                        
            <operations>
                                
                <operator>ADD</operator>
                                
                <operand 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201809"; 
xsi:type="ns2:BiddableAdGroupCriterion">
                                        
                    <ns2:adGroupId>xxxxxxxxxx</ns2:adGroupId>
                                        
                    <ns2:criterion xsi:type="ns2:Keyword">
                                                
                        <ns2:text>title1</ns2:text>
                                                
                        <ns2:matchType>EXACT</ns2:matchType>
                                            
                    </ns2:criterion>
                                    
                </operand>
                            
            </operations>
                    
        </mutate>
            
    </soapenv:Body>
    
</soapenv:Envelope>
  • AdGroupCriteri... 'Dmitry Omelyusik' via AdWords API and Google Ads API Forum
    • RE: AdGro... Google Ads API Forum Advisor Prod
      • Re: A... 'Dmitry Omelyusik' via AdWords API and Google Ads API Forum

Reply via email to