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