$authurl = "https://adwords.google.com/api/adwords/cm/v201708/CampaignService?wsdl"; $string='<?xml version="1.0"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708"> <soapenv:Header> <ns1:RequestHeader xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201708"> <ns1:clientCustomerId>525-082-9928</ns1:clientCustomerId> <ns1:developerToken>0WFv9slxDKaOiipZQ3-qnw</ns1:developerToken> <ns1:userAgent>The Storage Group Main</ns1:userAgent> </ns1:RequestHeader> </soapenv:Header> <soapenv:Body> <ns1:get> <ns1:serviceSelector> <ns1:fields>Id</ns1:fields> <ns1:fields>Name</ns1:fields> <ns1:fields>Labels</ns1:fields> <ns1:fields>ServingStatus</ns1:fields> <ns1:ordering> <ns1:field>Name</ns1:field> <ns1:sortOrder>ASCENDING</ns1:sortOrder> </ns1:ordering> <ns1:paging> <ns1:startIndex>0</ns1:startIndex> <ns1:numberResults>500</ns1:numberResults> </ns1:paging> </ns1:serviceSelector> </ns1:get> </soapenv:Body> </soapenv:Envelope>';
// Exchange the authorization code for an access token curl_setopt_array($curl, array( CURLOPT_HTTPHEADER=>array( 'Authorization:Bearer '.$token, 'Content-type: text/soap+xml', //'Content-Length:'.strlen($string), ), CURLOPT_POST =>TRUE, CURLOPT_POSTFIELDS =>$string, CURLOPT_URL => $authurl, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_RETURNTRANSFER => true )); $http_data = curl_exec($curl); curl_close($curl); THAT IS MY CODE AND I AM GETTING AN ERROR (00055b5fd991bd080a3f2ed79b0315f1CampaignServiceget12050CampaignPage) PLEASE HELP -- [image: The Storage Group] <https://www.storageinternetmarketing.com/?utm_source=Storage_Group&utm_medium=email&utm_campaign=email_signature&utm_content=Storage_Group_Logo> [image: ClickandStor: A Kiosk in your Pocket] <https://www.clickandstor.com/?utm_source=Storage_Group&utm_medium=email&utm_campaign=email_signature&utm_content=ClickandStor3_logo> [image: Phone Icon] FOR SUPPORT CALL (407) 392-2328 and press 2 or email supp...@storagegroupinc.com This email (including any attachments) is confidential and intended for the named recipient(s) only. It may be subject to legal or other professional privilege and contain copyright material. Any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. Access to this email or its attachments by anyone else is unauthorized. If you are not the intended recipient, you may not disclose, copy or distribute this email or its attachments, nor take or omit to take any action in reliance on it. If you have received this email in error, please notify the sender immediately, delete it from your system and destroy any copies. We accept no liability for any loss or damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorized access. Any views or opinions presented in this email or its attachments are solely those of the author and do not necessarily represent those of the company. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/0ae611aa-1b46-4553-9b03-0489ce538c6c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.