Hi Alessandro,

There is no adding of ad in the AddAdGroups 
<https://developers.google.com/adwords/api/docs/samples/php/basic-operations#add-ad-groups>
 example 
as this is supposed to add ad groups only given the campaign ID. Could you 
confirm if you have updated the example file? Below is the sample SOAP 
request snippet using the example code:

<soapenv:Body>
    <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201708";>
        <operations>
            <operator>ADD</operator>
            <operand>
                <campaignId>XXXXXXXXXX</campaignId>
                <name>Earth to Mars Cruises #1</name>
                <status>ENABLED</status>
                <settings xmlns:ns2=
"https://adwords.google.com/api/adwords/cm/v201708"; xsi:type=
"ns2:TargetingSetting">
                    <ns2:details>
                        <ns2:criterionTypeGroup>PLACEMENT
</ns2:criterionTypeGroup>
                        <ns2:targetAll>false</ns2:targetAll>
                    </ns2:details>
                    <ns2:details>
                        <ns2:criterionTypeGroup>VERTICAL
</ns2:criterionTypeGroup>
                        <ns2:targetAll>true</ns2:targetAll>
                    </ns2:details>
                </settings>
                <biddingStrategyConfiguration>
                    <bids xmlns:ns3=
"https://adwords.google.com/api/adwords/cm/v201708"; xsi:type="ns3:CpcBid">
                        <ns3:bid>
                            <ns3:microAmount>10000000</ns3:microAmount>
                        </ns3:bid>
                    </bids>
                </biddingStrategyConfiguration>
            </operand>
        </operations>
        <operations>
            <operator>ADD</operator>
            <operand>
                <campaignId>XXXXXXXXXXXX</campaignId>
                <name>Earth to Venus Cruises #27</name>
                <status>ENABLED</status>
                <biddingStrategyConfiguration>
                    <bids xmlns:ns4=
"https://adwords.google.com/api/adwords/cm/v201708"; xsi:type="ns4:CpcBid">
                        <ns4:bid>
                            <ns4:microAmount>10000000</ns4:microAmount>
                        </ns4:bid>
                    </bids>
                </biddingStrategyConfiguration>
            </operand>
        </operations>
    </mutate>
</soapenv:Body>

If indeed you have updates to the example file, can you provide your SOAP 
request and response logs so I can further check? If you haven't enabled 
the SOAP logs yet, you can enable it by following the "Configuring logging" 
section of this document 
<https://github.com/googleads/googleads-php-lib#configuring-logging>. 
Kindly use the *Reply privately to author* option when replying.

Thanks,
Vincent
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/007cb5b9-b1f5-440f-ad4d-07fcc571f4e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • operand.adGroupI... Alessandro Viola
    • Re: operand... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum

Reply via email to