OK. That seems to work for a SET, but when I attempt to do an ADD (SEE 
below), I'm getting, 
"CampaignCriterionError.INVALID_OPERATION_ENHANCED_CAMPAIGN @ 
operations[0].operand.criterion" What am I doing wrong? (Keep in mind, I'm 
submitting the request below *after* the Campaign is already enhanced.)

<ns1:Envelope xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201302"; 
xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/";>
    <ns1:Header>
        <ns2:RequestHeader>
            <ns2:authToken>[redacted]</ns2:authToken>
            <ns2:clientCustomerId>[redacted]</ns2:clientCustomerId>
            <ns2:developerToken>[redacted]</ns2:developerToken>
            <ns2:userAgent>[redacted]</ns2:userAgent>
        </ns2:RequestHeader>
    </ns1:Header>
    <ns1:Body>
        <ns2:mutate>
            <ns2:operations xsi:type="CampaignCriterionOperation" 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
xmlns='https://adwords.google.com/api/adwords/cm/v201302'>
                <ns2:operator>
                    ADD
                </ns2:operator>
                <ns2:operand>
                    <ns2:campaignId>[redacted]</ns2:campaignId>
                    <ns2:criterion xsi:type="Platform" 
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' 
xmlns='https://adwords.google.com/api/adwords/cm/v201302'>
                        <ns2:id>
                            30001
                        </ns2:id>
                        <ns2:type>
                            PLATFORM
                        </ns2:type>
                        <ns2:platformName>
                            HighEndMobile
                        </ns2:platformName>
                    </ns2:criterion>
                    <ns2:bidModifier>
                        0.0
                    </ns2:bidModifier>
                </ns2:operand>
            </ns2:operations>
        </ns2:mutate>
    </ns1:Body>
</ns1:Envelope>

On Wednesday, June 26, 2013 11:03:49 PM UTC-5, Takeshi Hagikura (AdWords 
API Team) wrote:
>
> Hello John,
>
> Please use 
> CampaignCriterionService<https://developers.google.com/adwords/api/docs/reference/v201302/CampaignCriterionService>
>  to 
> update device bid adjustments.
> You can find a code 
> example<https://code.google.com/p/google-api-ads-java/source/browse/examples/adwords_axis/src/main/java/adwords/axis/v201302/campaignmanagement/SetBidModifier.java>
>  updating 
> the modifier. 
>
> Best,
> - Takeshi, AdWords API Team 
>
> On Thursday, June 27, 2013 12:48:54 AM UTC+9, John Bliss wrote:
>>
>> Currently, I can use the AdWords website to view a Campaign, click 
>> Settings (tab), Devices, and then edit Device Bid adjustment.
>>
>> When looking at 
>> https://developers.google.com/adwords/api/docs/reference/v201302/CampaignService.Campaign
>>  I 
>> do not see how I'd use the API to edit those Device Bid adjustments.
>>
>> Please advise.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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