Hello,
It was successful using the example class as follows:

      $root = $helper->createSubdivision();

      $helper->createUnit($root, new ProductOfferId('xxx'), 200000);
      $helper->createUnit($root, new ProductOfferId('yyy'), 300000);
      $helper->createUnit($root, new ProductOfferId('zzz'), 400000);
      $helper->createUnit($root, new ProductOfferId());
      
      // Make the mutate request.
      $result = $adGroupCriterionService->mutate($helper->getOperations());

Now I'm looking for references to change or remove these products and bids. 
Do you have any sample topics? Do I have to delete the whole group and 
create it again?

Thank you.



Em segunda-feira, 7 de novembro de 2016 04:19:58 UTC-2, Joyce Lava escreveu:
>
> Hello,
>
> What I am aware of is you can set the bid at ProductBiddingCategory 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.ProductBiddingCategory>
>  as 
> you may find in this example code 
> <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201609/ShoppingCampaigns/AddProductPartitionTree.php>.
>  
> However, could you please try to create a ProductPartition 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.ProductPartition>
>  where 
> the caseValue 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.ProductPartition#casevalue>
>  is 
> a ProductDimension of type ProductOfferId 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.ProductOfferId>,
>  
> then set the ProductOfferId.value 
> <https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.ProductOfferId#value>
>  as 
> the Merchant Center product Id and let me know the results? You may use the 
> example code as a reference to do so.
>
> You may also find this documentation 
> <https://developers.google.com/adwords/api/docs/guides/shopping> helpful.
>
> Regards,
> Joyce, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee858ec1-0fc9-4006-aa68-69098435fe12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to