Hi, My apologies as I am not a PHP expert, however, what I can provide you instead is a sample SOAP request and response for your reference :
<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/v201705" soapenv:mustUnderstand="0"> <ns1:clientCustomerId>YOUR_CUSTOMER_ID</ns1:clientCustomerId> <ns1:developerToken>YOUR_DEVELOPER_TOKEN</ns1:developerToken> <ns1:userAgent>YOUR_USER_AGENT</ns1:userAgent> <ns1:validateOnly>false</ns1:validateOnly> <ns1:partialFailure>false</ns1:partialFailure> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <get xmlns="https://adwords.google.com/api/adwords/cm/v201705"> <selector> <fields>AdGroupId</fields> <fields>Extensions</fields> <fields>ExtensionType</fields> <predicates> <field>AdGroupId</field> <operator>EQUALS</operator> <values>THE_ADGROUP_ID</values> </predicates> <ordering> <field>AdGroupId</field> <sortOrder>ASCENDING</sortOrder> </ordering> <paging> <startIndex>0</startIndex> <numberResults>100</numberResults> </paging> </selector> </get> </soapenv:Body> </soapenv:Envelope> [main] INFO com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - SOAP Response: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201705"> <requestId>THE_REQUEST_ID</requestId> <serviceName>AdGroupExtensionSettingService</serviceName> <methodName>get</methodName> <operations>0</operations> <responseTime>300</responseTime> </ResponseHeader> </soap:Header> <soap:Body> <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201705"> <rval> <totalNumEntries>1</totalNumEntries> <Page.Type>AdGroupExtensionSettingPage</Page.Type> <entries> <adGroupId>THE_ADGROUP_ID</adGroupId> <extensionType>SITELINK</extensionType> <extensionSetting> <extensions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="SitelinkFeedItem"> <feedId>THE_FEED_ID</feedId> <feedItemId>THE_FEEDITEM_ID</feedItemId> <status>ENABLED</status> <feedType>SITELINK</feedType> <policyData> <PolicyData.Type>FeedItemPolicyData</PolicyData.Type> <placeholderType>1</placeholderType> <feedMappingId>THE_FEEDMAPPING_ID</feedMappingId> <validationStatus>UNCHECKED</validationStatus> <qualityApprovalStatus>UNKNOWN</qualityApprovalStatus> </policyData> <ExtensionFeedItem.Type>SitelinkFeedItem</ExtensionFeedItem.Type> <sitelinkText>Store Hours</sitelinkText> <sitelinkFinalUrls> <urls>http://www.example.com/storehours</urls> </sitelinkFinalUrls> </extensions> </extensionSetting> </entries> </rval> </getResponse> </soap:Body> </soap:Envelope> Let me know if this helps. Best regards, Peter 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 [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 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/6dc65fa4-332f-4c7a-bd99-53d055377c0b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
