I am really struggling with the Adwords API, primarly b/c I don't fully 
understand the documentation and how it translates into the ruby library 
that I'm using (https://github.com/googleads/google-api-ads-ruby)

I have a SOAP envelope that is working however I'm trying to get it to 
filter for network and negative keywords. I attempted to put in the network 
search parameters but it's not right. I also have no clue how to add 
negative keywords.

Please help!

Here's my broken example:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201502"; 
xmlns:wsdl="https://adwords.google.com/api/adwords/o/v201502"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <env:Header>
    <wsdl:RequestHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201502";>
      <userAgent>rails (AwApi-Ruby/0.15.1, Common-Ruby/0.9.9, Savon/1.2.0, 
ruby/2.2.1, HTTPI/1.1.1, net_http)</userAgent>
      <developerToken>jCLu294Z5m4eHhCOYg_Pdw</developerToken>
      <clientCustomerId>569-924-6202</clientCustomerId>
    </wsdl:RequestHeader>
  </env:Header>
  <env:Body>
    <get xmlns="https://adwords.google.com/api/adwords/o/v201502";>
      <selector>
        <searchParameters xsi:type="RelatedToQuerySearchParameter">
          <queries>nibley insurance</queries>
          <queries>north logan ut insurance</queries>
          <queries>north logan ut insurance car</queries>
          <queries>car insurance logan utah</queries>
        </searchParameters>
        <searchParameters xsi:type="LanguageSearchParameter">
          <languages>
            <ns0:id>1000</ns0:id>
          </languages>
        </searchParameters>
        <searchParameters xsi:type="LocationSearchParameter">
          <locations>
            <ns0:id>21177</ns0:id>
          </locations>
        </searchParameters>
*        <searchParameters xsi:type="NetworkSearchParameter">*
*          <networkSetting>*
*            <targetGoogleSearch>true</targetGoogleSearch>*
*            <targetSearchNetwork>false</targetGoogleSearch>*
*            <targetContentNetwork>false</targetGoogleSearch>*
*            <targetPartnerSearchNetwork>false</targetGoogleSearch>*
*          </networkSetting >*
*        </searchParameters>*
        <ideaType>KEYWORD</ideaType>
        <requestType>STATS</requestType>
        <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes>
        <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes>
        
<requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes>
        <requestedAttributeTypes>COMPETITION</requestedAttributeTypes>
        <requestedAttributeTypes>AVERAGE_CPC</requestedAttributeTypes>
        
<requestedAttributeTypes>EXTRACTED_FROM_WEBPAGE</requestedAttributeTypes>
        <paging>
          <ns0:startIndex>0</ns0:startIndex>
          <ns0:numberResults>1000</ns0:numberResults>
        </paging>
      </selector>
    </get>
  </env:Body>
</env: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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/7c921477-1fce-4857-bbba-8f04ff39f7ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to