Hi,

The Working with Objects guide 
<https://developers.google.com/adwords/api/docs/guides/working-with-objects> 
contains 
some information on mutability, but having just read it I can see that we 
should add more details. I've made a note of this and will update the guide 
in the near future.

For now, however, the two main types I can think of that are immutable are 
FeedMapping 
<https://developers.google.com/adwords/api/docs/reference/latest/FeedMappingService.FeedMapping>
 and 
Criterion + its subclasses.

Thanks,
Josh, AdWords API Team

On Wednesday, July 30, 2014 11:00:36 AM UTC-4, usaw...@gmail.com wrote:
>
> Hi,
>
> Thanks for the answer. I will give try on it. But I can't find immutable 
> objects in API Documentation.
>
> Where I can know about the immutable objects. So it will be helpful for 
> future development.
>
> On Wednesday, July 30, 2014 7:15:04 AM UTC-7, Josh Radcliff (AdWords API 
> Team) wrote:
>>
>> Hi,
>>
>> Criterion (and Criterion subclass) objects are immutable. If you want to 
>> change something on the Criterion of an AdGroupCriterion (
>> BiddableAdGroupCriterion 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion>
>>  or NegativeAdGroupCriterion 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.NegativeAdGroupCriterion>
>> ), you should submit a *mutate* request with two operations:
>>
>>    1. A REMOVE operation that removes the existing AdGroupCriterion that 
>>    has the Criterion you want to change.
>>    2. An ADD operation that creates a new AdGroupCriterion with a 
>>    Criterion with the desired attributes.
>>    
>> Note that although Criterion objects are immutable, some attributes of 
>> AdGroupCriterion 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.AdGroupCriterion>
>>  (and 
>> AdGroupCriterion subclass) objects are mutable. For example, you *can* 
>> change 
>> the bidModifier 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion#bidModifier>
>>  of 
>> a BiddableAdGroupCriterion 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.BiddableAdGroupCriterion>,
>>  
>> but you *cannot* change the parameter 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.Webpage#parameter>
>>  of 
>> a Webpage 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.Webpage>
>>  Criterion. 
>> The API documentation for each field indicates if the value is read only 
>> and/or when the API will ignore values sent in a mutate request, e.g., the 
>> AdGroupCriterion.criterionUse 
>> <https://developers.google.com/adwords/api/docs/reference/v201406/AdGroupCriterionService.AdGroupCriterion#criterionUse>
>>  field 
>> is labeled *ReadOnly* and the description states "This field is read 
>> only and will be ignored when sent to the API."
>>
>> Cheers,
>> Josh, AdWords API Team
>>
>> On Wednesday, July 30, 2014 7:10:35 AM UTC-4, usaw...@gmail.com wrote:
>>>
>>> Hi,
>>>
>>> I am using Test account MCC and when i tried to edit web page parameter 
>>> it is not working.
>>>
>>> Here I have attached the XML request & response log. Please check it and 
>>> let me know what I am missing.
>>>
>>> I replaced customer id, developer token and user agent.
>>>
>>> Thanks
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to