AdWords API Re: Adgroup Ad ID Invalid
Hi Mike, This is a problem with how some versions of the PHP SOAP Client handle long values. See my reply in the following thread: http://groups.google.com/group/adwords-api/browse_thread/thread/364a50bd2197a915/ Best, - Eric Koleda, AdWords API Team On Feb 19, 5:16 pm, Mike-Indiana wrote: > Sure thing: > > [Feb 19 2010 16:12:01.00 - INFO] POST /api/adwords/cm/v200909/ > AdGroupAdService HTTP/1.1 > > Host: adwords.google.com > > Connection: Keep-Alive > > User-Agent: PHP-SOAP/5.2.12 > > Content-Type: text/xml; charset=utf-8 > > SOAPAction: "" > > Content-Length: 1162 > > > http://schemas.xmlsoap.org/soap/ > envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/ > v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> > > > **REMOVED** > * > **REMOVED** > **REMOVED** > PHP v5.2.12 - AdWords API PHP Client Library - > v1.2.2 - Finance Globe > > > > > > SET > > 463586824 > > 2147483647 > > PAUSED > > > > > > > HTTP/1.1 500 Internal Server Error > > Content-Type: text/xml; charset=UTF-8 > > Transfer-Encoding: chunked > > Date: Fri, 19 Feb 2010 22:12:02 GMT > > Expires: Fri, 19 Feb 2010 22:12:02 GMT > > Cache-Control: private, max-age=0 > > X-Content-Type-Options: nosniff > > X-Frame-Options: SAMEORIGIN > > Server: GFE/2.0 > > X-XSS-Protection: 0 > > > http://schemas.xmlsoap.org/soap/envelope/";> > > https://adwords.google.com/api/adwords/cm/ > v200909"> > a47c7dd0af814a17b4a94a8731f20eb0 > 1 > 1404 > 1 > > > > > soap:Server > [EntityNotFound.INVALID_ID @ > operations[0].operand.ad.id] > > https://adwords.google.com/api/ > adwords/cm/v200909"> > [EntityNotFound.INVALID_ID @ > operations[0].operand.ad.id] > ApiException ApplicationException.Type> > http://www.w3.org/2001/XMLSchema- > instance" xsi:type="EntityNotFound"> > operations[0].operand.ad.id > > EntityNotFound > INVALID_ID > > > > > > > > On Feb 18, 10:12 am, AdWords API Advisor > > > > wrote: > > Hi Mike, > > > Do you have the SOAP XML logs for this request? I've seen some cases > > where a correct ID gets truncated when it is serialized to XML. > > > Best, > > - Eric Koleda, AdWords API Team > > > On Feb 18, 4:44 am, Mike-Indiana wrote: > > > > In PHP... I tried everything. The ID is there and there are no quotes. > > > I am able to create an adgroup text ad, but I cannot set the status to > > > PAUSE or DISABLED. Any direction would be helpful. > > > > Error: > > > > SoapFault Object ( [message:protected] => [EntityNotFound.INVALID_ID @ > > > operations[0].operand.ad.id] [string:private] => [code:protected] => 0 > > > [file:protected] => -- 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-...@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.
AdWords API Re: Adgroup Ad ID Invalid
Sure thing: [Feb 19 2010 16:12:01.00 - INFO] POST /api/adwords/cm/v200909/ AdGroupAdService HTTP/1.1 Host: adwords.google.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.2.12 Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 1162 http://schemas.xmlsoap.org/soap/ envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/ v200909" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> **REMOVED** * **REMOVED** **REMOVED** PHP v5.2.12 - AdWords API PHP Client Library - v1.2.2 - Finance Globe SET 463586824 2147483647 PAUSED HTTP/1.1 500 Internal Server Error Content-Type: text/xml; charset=UTF-8 Transfer-Encoding: chunked Date: Fri, 19 Feb 2010 22:12:02 GMT Expires: Fri, 19 Feb 2010 22:12:02 GMT Cache-Control: private, max-age=0 X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Server: GFE/2.0 X-XSS-Protection: 0 http://schemas.xmlsoap.org/soap/envelope/";> https://adwords.google.com/api/adwords/cm/ v200909"> a47c7dd0af814a17b4a94a8731f20eb0 1 1404 1 soap:Server [EntityNotFound.INVALID_ID @ operations[0].operand.ad.id] https://adwords.google.com/api/ adwords/cm/v200909"> [EntityNotFound.INVALID_ID @ operations[0].operand.ad.id] ApiException http://www.w3.org/2001/XMLSchema- instance" xsi:type="EntityNotFound"> operations[0].operand.ad.id EntityNotFound INVALID_ID On Feb 18, 10:12 am, AdWords API Advisor wrote: > Hi Mike, > > Do you have the SOAP XML logs for this request? I've seen some cases > where a correct ID gets truncated when it is serialized to XML. > > Best, > - Eric Koleda, AdWords API Team > > On Feb 18, 4:44 am, Mike-Indiana wrote: > > > In PHP... I tried everything. The ID is there and there are no quotes. > > I am able to create an adgroup text ad, but I cannot set the status to > > PAUSE or DISABLED. Any direction would be helpful. > > > Error: > > > SoapFault Object ( [message:protected] => [EntityNotFound.INVALID_ID @ > > operations[0].operand.ad.id] [string:private] => [code:protected] => 0 > > [file:protected] => -- 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-...@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.
AdWords API Re: Adgroup Ad ID Invalid
Hi Mike, Do you have the SOAP XML logs for this request? I've seen some cases where a correct ID gets truncated when it is serialized to XML. Best, - Eric Koleda, AdWords API Team On Feb 18, 4:44 am, Mike-Indiana wrote: > In PHP... I tried everything. The ID is there and there are no quotes. > I am able to create an adgroup text ad, but I cannot set the status to > PAUSE or DISABLED. Any direction would be helpful. > > Error: > > SoapFault Object ( [message:protected] => [EntityNotFound.INVALID_ID @ > operations[0].operand.ad.id] [string:private] => [code:protected] => 0 > [file:protected] => -- 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-...@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.