How to Set Keyword Max Cpc
Hi all, i've migrated api from v2012 to v201302. I've a piece of code like this: ManualCPCAdGroupBids adGroupBids = new ManualCPCAdGroupBids(); adGroupBids.setKeywordMaxCpc(new Bid(new Money(null, p_kwdMaxCpc))); adGroup.setBids(adGroupBids); In the v201302 i don't find class ManualCPCAdGroupBid. I can't find any docs about migrate this. Can anyone help me? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: keywordMaxCpc in v201302
I have the same problem!! Il giorno mercoledì 3 aprile 2013 09:21:17 UTC+2, Taher Dhilawala ha scritto: How do I fetch keywordMaxCpc, keywordContentMaxCpc from an Adgroup object in v201302 Adwords API? Previously (in v201209) I used to do like this ManualCPCAdGroupBids adgroupBids = (ManualCPCAdGroupBids)adgroup.bids adgroupBids.keywordMaxCpc adgroupBids.keywordContentMaxCpc -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: update keyword maxcpc
I don't understand your code... where you instantiate keywordBiddableAdGroupCriterion? Il giorno domenica 31 marzo 2013 21:06:20 UTC+2, Oliver ha scritto: I just tried the following code for a keyword and it seems to be working: BiddingStrategyConfiguration biddingStrategyConfiguration = new BiddingStrategyConfiguration(); CpcBid bid = new CpcBid(); bid.setBid(bidAmount); biddingStrategyConfiguration.setBids(new Bids[] {bid}); keywordBiddableAdGroupCriterion.setBiddingStrategyConfiguration(biddingStrategyConfiguration); Oliver On Sunday, March 31, 2013 9:46:36 AM UTC+1, F.Per wrote: There is nothing similar to setBiddingStrategyConfiguration for the keyword (com.google.api.ads.adwords.axis.v201302.cm) Anybody has an idea? Am Mittwoch, 27. März 2013 09:35:52 UTC+1 schrieb F.Per: Hi im using java (v201302) and i want to update a list of already EXISTING keywords. I downloaded all the information i need about them and i want to update their maxCpc. Ive written the following code, but there is no obvious way for me to set the maxCpc attribute: [code] // create client login token String clientLoginToken = new ClientLoginTokens.Builder() .forApi(ClientLoginTokens.Api.ADWORDS) .withEmailAndPassword(myEmail, myPassword) .build() .requestToken(); // Construct an AdWordsSession. AdWordsSession session = new AdWordsSession.Builder().fromFile().withClientLoginToken(clientLoginToken).build(); AdWordsServices adWordsServices = new AdWordsServices(); try { // Get the AdGroupService. AdGroupServiceInterface adGroupService = adWordsServices.get(session, AdGroupServiceInterface.class); ListAdGroupCriterionOperation operationList = new ArrayListAdGroupCriterionOperation(); // loop throuh existing keywords (google ids) for(Long keywordId : keywordIds) { Keyword googleKeyword = new Keyword(); googleKeyword.setId(keywordId); googleKeyword.setMatchType(KeywordMatchType.BROAD); // how to update maxcpc ? BiddableAdGroupCriterion biddableAdGroupCriterion = new BiddableAdGroupCriterion(); biddableAdGroupCriterion.setAdGroupId(someAdGroupId); biddableAdGroupCriterion.setCriterion(googleKeyword); AdGroupCriterionOperation adGroupCriterionOperation = new AdGroupCriterionOperation(); adGroupCriterionOperation.setOperand(biddableAdGroupCriterion); adGroupCriterionOperation.setOperator(Operator.SET); operationList.add(adGroupCriterionOperation); AdGroupOperation[] operations = (AdGroupOperation[]) operationList.toArray(); // Update ad group. AdGroupReturnValue result = adGroupService.mutate(operations); } } catch (Exception e) { e.printStackTrace(); } [/code] Either i am not getting how to set this or it has to be done in another way. Can somebody help me with this? Id really appreciate it. thx -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
Re: How to Set Keyword Max Cpc
Anyone have any ideas? Il giorno giovedì 4 aprile 2013 09:56:24 UTC+2, Aere ha scritto: Hi all, i've migrated api from v2012 to v201302. I've a piece of code like this: ManualCPCAdGroupBids adGroupBids = new ManualCPCAdGroupBids(); adGroupBids.setKeywordMaxCpc(new Bid(new Money(null, p_kwdMaxCpc))); adGroup.setBids(adGroupBids); In the v201302 i don't find class ManualCPCAdGroupBid. I can't find any docs about migrate this. Can anyone help me? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/groups/opt_out.
GetCostPerConversion in 201206
Hi all, i've a prolem migrating from v201109 to v201206 api. I've found that there aren't some methods that I use. (sorry for my english...) I read the Migration Guide, but I don't found any that helps me... I use a method: ...getStats().getCostPerConversion() but i Can't find in 201206. Can anyone explain me in wich manner i retrieve this information using v201206 api? Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
Re: GetCostPerConversion in 201206
Ok, i've read this, but I don't find any info about to retrieve it in code... (java) On Wednesday, October 24, 2012 11:19:13 AM UTC+2, Oliver wrote: This field was removed since 201206. Check the release notes here: https://developers.google.com/adwords/api/docs/reference/ The only current way to get it is through the adhoc reports. Oliver On Wednesday, October 24, 2012 9:25:36 AM UTC+1, Aere wrote: Hi all, i've a prolem migrating from v201109 to v201206 api. I've found that there aren't some methods that I use. (sorry for my english...) I read the Migration Guide, but I don't found any that helps me... I use a method: ...getStats().getCostPerConversion() but i Can't find in 201206. Can anyone explain me in wich manner i retrieve this information using v201206 api? Thanks! -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
API 201109: Problem on login
Hi all, I've download new java client library for new api (201109) but i can't get login work on sandbox. I think that depends by the adwords.properties configuration. I use this: ### PRODUCTION (It seems to work) email=m...@email.com password=mypasswd clientId=000-000- useragent=myUseragent developerToken=mytoken useSandbox=false partialFailure=false returnMoneyInMicros=false ### SANDBOX email=m...@email.com password=mypasswd clientId=client_1...@email.com # I've tried with: clientId=000-000- but nothing useragent=myUserAgent developerToken=m...@email.com++EUR useSandbox=true partialFailure=false returnMoneyInMicros=false The error returned is: AuthenticationError.CLIENT_CUSTOMER_ID_INVALID Now, in Production it seems to work fine, but I can't access to the sandbox... Can you help me please? Thanks. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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