Hi Sergio

I do understand the part in which we can modify the bids as any other 
AdGroup Criterion. After all  ProductPartition is at same level as Keyword, 
both being of the type Adgroup Criterion.
Problem is the following:

I dont know how to get the Google ID from Product Partition for a certain 
product.
If i query them all i can see a few details of them but not the name (which 
i use as a reference).

Please could you share some piece of code on to how to modify bids of a 
product partition knowing its OFFER ID and TEXT?

Thanks!!! :)




On Friday, August 8, 2014 12:21:44 PM UTC+2, Sérgio Gomes (Shopping API 
Team) wrote:
>
> Hi Bill,
>
> Oh, I see, sorry I didn't get your question in the first place. Yes, you 
> modify bids in the exact same way as you would ones in normal campaigns, by 
> modifying the BiddingStrategyConfiguration for the ad group criteria.
>
> Bear in mind that in this tree structure only the bids on the leaves 
> matter, though. Any node which is of partition type SUBDIVISION will see 
> its bid ignored, as due to the way trees need to be set up all bids will 
> end up in one of its leaves (whether it's a specific value leaf or an 
> "Other" leaf).
>
> Cheers,
> Sérgio
>
> ---
> Sérgio Gomes
> Developer Relations
>
> Google UK Limited
> Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 
> 9TQ
> Registered in England Number: 3977902
>
>
> On Thursday, 7 August 2014 16:27:15 UTC+1, Bill Smith wrote:
>>
>> Hi-
>>
>> My shopping campaigns are already set-up, and I have the partitions 
>> created.  But I do see anything in the guide that discusses modifying bids. 
>>  Am I missing something or perhaps is that not supported in the API?
>>
>> Bill
>>
>>
>> On Friday, August 1, 2014 8:29:22 AM UTC-5, Sérgio Gomes (Shopping API 
>> Team) wrote:
>>>
>>> Hi Bill,
>>>
>>> Shopping campaigns work quite differently, based on the principle of 
>>> partitions. We have a guide explaining how to set up a shopping campaign 
>>> <https://developers.google.com/adwords/api/docs/guides/shopping>.
>>>
>>> Hope this helps!
>>>
>>> Cheers,
>>> Sérgio
>>>
>>> ---
>>> Sérgio Gomes
>>> Developer Relations
>>>
>>> Google UK Limited
>>> Registered Office: Belgrave House, 76 Buckingham Palace Road, London 
>>> SW1W 9TQ
>>> Registered in England Number: 3977902
>>>
>>>
>>> On Wednesday, 30 July 2014 21:25:38 UTC+1, Bill Smith wrote:
>>>>
>>>> Hi-
>>>>
>>>> I'm using API 201402 successfully to update bids (basic CPC) for 
>>>> traditional text ads, using the PHP library example as a guide.  Here's 
>>>> the 
>>>> basic code:
>>>>
>>>> -------
>>>>
>>>> $adGroupCriterionService = $user->GetService('AdGroupCriterionService', 
>>>> ADWORDS_VERSION);
>>>> $criterion = new Criterion();
>>>> $criterion->id = $keywordCriterionId;
>>>>
>>>> $biddableAdgroupCriterion = new BiddableAdGroupCriterion();
>>>> $biddableAdgroupCriterion->adGroupId = $adGroupId;
>>>> $biddableAdgroupCriterion->criterion = $criterion;
>>>>
>>>> $CPCbid = new CpcBid();
>>>> $CPCbid->bid = new Money($microBid);
>>>>
>>>> $biddingStrategyConfiguration = new BiddingStrategyConfiguration();
>>>> $biddingStrategyConfiguration->bids = $CPCbid;
>>>> $biddableAdgroupCriterion->biddingStrategyConfiguration = 
>>>> $biddingStrategyConfiguration;
>>>>
>>>> $operation = new AdGroupCriterionOperation();
>>>> $operation->operand  = $biddableAdgroupCriterion;
>>>> $operation->operator = 'SET';
>>>>
>>>> $operations = array($operation);
>>>> $result = $adGroupCriterionService->mutate($operations);
>>>>
>>>> ------
>>>>
>>>> I have transitioned our PLA campaigns to thew new Shopping Campaigns 
>>>> and would like to perform the same function using the API.  Our bids are 
>>>> split into multiple ad groups, and the ad groups can go up to 3 levels 
>>>> deep 
>>>> on product type.  For example:
>>>>
>>>> Campaign: Apparel
>>>> Ad Group: Shoes
>>>> Product Type: Mens > Athletic > Basketball
>>>> Product Type: Mens > Athletic > Soccer
>>>> etc.
>>>>
>>>> I would like to be able to retrieve the current data from the campaign 
>>>> (in case someone make changes in the AdWords UI and I need to sync our 
>>>> local database), as well as be able to update the bid using the API.
>>>>
>>>> I was assuming I still use the BiddingStrategyConfiguration for this 
>>>> operation but I'm having trouble understanding how the above code would 
>>>> change for a shopping campaign.
>>>>
>>>> Thanks,
>>>>
>>>> Bill
>>>>
>>>>
>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c1158069-d595-4f32-b9c6-b66153ecc731%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to