Hi Mitesh,

To update the CPC of a product group using the API, you would issue an 
AdGroupCriterionService.mutate 
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService#mutate>
 call 
with a *SET* operation where the operand is:

   - A BiddableAdGroupCriterion 
   
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.BiddableAdGroupCriterion>
 
   with:
      - adGroupId 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.BiddableAdGroupCriterion#adGroupId>
 set 
      to your ad group ID
      - criterion 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.BiddableAdGroupCriterion#criterion>
 set 
      to a ProductPartition 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductPartition>
 with 
      its id 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.ProductPartition#id>
 set 
      to the partition (product group) ID
      - biddingStrategyConfiguration 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.BiddableAdGroupCriterion#biddingStrategyConfiguration>
 with 
      its bids 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.BiddingStrategyConfiguration#bids>
 set 
      to a collection containing the appropriate CpcBid 
      
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService.CpcBid>
      
You can get the relevant IDs by issuing an AdGroupCriterionService.get 
<https://developers.google.com/adwords/api/docs/reference/v201409/AdGroupCriterionService#get>
 for 
the ad group. You can use the UpdateKeyword.cs 
<https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201409/BasicOperations/UpdateKeyword.cs>
 example 
as a template for the *mutate* call. You just need to substitute your 
*ProductPartition* and its ID in place of the *Keyword* object in the 
example.

Thanks,
Josh, AdWords API Team

On Thursday, January 29, 2015 at 12:15:50 AM UTC-5, mitesh barot wrote:
>
> Hi,
>
>
> i want to update CPC of product group in shopping campaigns using external 
> application developed in .net.
>
> please help for the same.
>
>
> regards,
>
> Mitesh
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/52b411d0-37f8-4a52-b083-edef522295cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to