Hello Daniel,

Is it possible you accidentally send several operations in the same request 
for the same ID?

Please send us full XML code for the remove request and server response.


-Danial, AdWords API Team.

On Wednesday, November 12, 2014 7:50:24 PM UTC+3, Daniel Olel wrote:
>
> Hello Danial, 
>
> So here is the issue, Whenever I attempt to remove a shared bidding 
> strategy, it returns an Invalid ID Error, which according to the API is an 
> EntityNotFound Error.
> Now if I query the API for removed shared bidding strategy, it returns one 
> whose status I set to removed in an operation before.
> But if I attempt to create a new shared bidding strategy, it throws the 
> above AttributeError Exception.
>
> As regards to the clientCustomerId, I do send that in the SOAP header but 
> I still get the exception.
>
> On Wednesday, 12 November 2014 15:20:20 UTC+1, Danial Klimkin wrote:
>>
>> Hello Daniel,
>>
>>
>> I am confused about what step you are facing the issue at?
>>
>> Also, we recommend sending clientCustomerId in the SOAP header to ensure 
>> you are running the request against the correct account.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Tuesday, November 11, 2014 7:22:40 PM UTC+3, Daniel Olel wrote:
>>>
>>> So, Here is what happens, 
>>> When I attempt to create a new shared strategy since the other one was 
>>> removed, it returns an* ERROR - ERROR TYPE <type 
>>> 'exceptions.AttributeError'>* from the Google Adwords API
>>>
>>> These are the logs I get when I enable SOAP logging
>>> <!-- Sending -->
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <SOAP-ENV:Envelope xmlns:ns0="
>>> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:ns1="
>>> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsi="
>>> http://www.w3.org/2001/XMLSchema-instance"; xmlns:tns="
>>> https://adwords.google.com/api/adwords/cm/v201409"; xmlns:SOAP-ENV="
>>> http://schemas.xmlsoap.org/soap/envelope/";>
>>> <SOAP-ENV:Header>
>>> <tns:RequestHeader>
>>> <tns:userAgent>rocket_adwords (AwApi-Python, googleads/2.1.0, 
>>> Python/2.7)</tns:userAgent>
>>> <tns:validateOnly>false</tns:validateOnly>
>>> <tns:partialFailure>false</tns:partialFailure>
>>> </tns:RequestHeader>
>>> </SOAP-ENV:Header>
>>> <ns1:Body>
>>> <ns0:get>
>>> <ns0:selector>
>>> <ns0:fields>Name</ns0:fields>
>>> <ns0:fields>Id</ns0:fields>
>>> <ns0:fields>Status</ns0:fields>
>>> <ns0:fields>Type</ns0:fields>
>>> <ns0:predicates>
>>> <ns0:field>Name</ns0:field>
>>> <ns0:operator>EQUALS</ns0:operator>
>>> <ns0:values>TEST</ns0:values>
>>> </ns0:predicates>
>>> <ns0:predicates>
>>> <ns0:field>Status</ns0:field>
>>> <ns0:operator>IN</ns0:operator>
>>> <ns0:values>ENABLED</ns0:values>
>>> </ns0:predicates>
>>> <ns0:paging>
>>> <ns0:startIndex>0</ns0:startIndex>
>>> <ns0:numberResults>100</ns0:numberResults>
>>> </ns0:paging>
>>> </ns0:selector>
>>> </ns0:get>
>>> </ns1:Body>
>>> </SOAP-ENV:Envelope>
>>>
>>>
>>>
>>> <!-- Receiving -->
>>> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
>>> <soap:Header>
>>> <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201409
>>> ">
>>> <requestId>000507979125a1e10ac4a548170008fa</requestId>
>>> <serviceName>BiddingStrategyService</serviceName>
>>> <methodName>get</methodName>
>>> <operations>1</operations>
>>> <responseTime>314</responseTime>
>>> </ResponseHeader>
>>> </soap:Header>
>>> <soap:Body>
>>> <getResponse xmlns="https://adwords.google.com/api/adwords/cm/v201409";>
>>> <rval>
>>> <totalNumEntries>0</totalNumEntries>
>>> <Page.Type>BiddingStrategyPage</Page.Type>
>>> </rval>
>>> </getResponse>
>>> </soap:Body>
>>> </soap: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/545560b3-1ec1-4f96-99ab-9e628b8b976f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to