Thanks for your help Takeshi,

I'm using the PHP library and not too sure where to make this setting. Does 
it default to false? I can't seem to find it in my soap_xml.log, should I 
be able to?

Thanks again.

On Monday, March 4, 2013 9:25:30 AM UTC, Takeshi Hagikura (AdWords API 
Team) wrote:
>
> Hi Alan,
>
> partialFailure should be set at the RequestHeader level in your soap 
> request, not the AdGroupCriterionOperation level.
>
>     <ns1:RequestHeader soapenv:actor="
> http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" 
> xmlns:ns1="https://adwords.google.com/api/adwords/info/v201206";>
>       <ns2:authToken>******</ns2:authToken>
>       <ns3:developerToken>*******</ns3:developerToken>
>       <ns4:userAgent>INSERT_COMPANY_NAME (AwApi-Java/8.10.0, Axis/1.4, 
> Java/1.6.0-google-v4, legacy)</ns4:userAgent>
>       <ns5:validateOnly>false</ns5:validateOnly>
>       <ns6:partialFailure>false</ns6:partialFailure>
>     </ns1:RequestHeader>
>
> How you can set the partialFailure flag depends on what client library you 
> are using.
> You are using PHP library?
>
> Best,
> - Takeshi
>
> On Saturday, March 2, 2013 1:09:28 AM UTC+9, Alan Coleman wrote:
>>
>> Hello everyone,
>>
>> I'm using the adGroupCriterionService to update multiple keywords from an 
>> array. This was working fine until I stumbled across a Policy Violation 
>> Error between two keywords. This is a false positive and unintentional.
>>
>> Ideally I'd like to be able to skip past any keywords returning this 
>> error and continue with the service update.
>>
>> From what I can gather from the documentation I can use the Partial 
>> Failure feature to work round this issue. 
>> https://developers.google.com/adwords/api/docs/headers#partialFailure
>>
>> I'm unsure about where to implement this feature, I'm not having any luck 
>> as the following is returning an error on  Partial Failure as an undefined 
>> index:
>>
>> // Create operation.
>> $operation = new AdGroupCriterionOperation();
>> $operation->operand = $adGroupCriterion;
>> $operation->operator = 'ADD';
>> *$operation->partialFailure = true;*
>> $operations[] = $operation;
>>
>>
>> Any suggestion s would be helpful.
>>
>> Many thanks
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to