Edit: Is it possible that I can't use CPA Bidding because I'm currently using an Adwords Test Account?
On Thursday, September 6, 2018 at 4:31:55 PM UTC-4, Nellle Rickchards wrote: > > > I'm getting the following error when batch uploading new campaigns: > > errorType=BiddingErrors > trigger=TARGET_CPA > errorString=BiddingErrors.CONVERSION_TRACKING_NOT_ENABLED > > fieldPath=operations[128].operand.biddingStrategyConfiguration.biddingStrategyType > reason=CONVERSION_TRACKING_NOT_ENABLED > > I'de like to set a CPA bid when I upload the scripts instead of adding > logic to change our bidding strategy later. > > How do I enable conversion tracking on new campaigns uploaded through the > API? > > > Here is my code: > > def BuildCampaignOperations(batch_job_helper, budget_operations, > campaigns): > budget_id = budget_operations[0]['operand']['budgetId'] > > campaign_operations = [ > { > 'xsi_type': 'CampaignOperation', > 'operand': { > 'name': i[0], > 'status': i[2], > 'id': batch_job_helper.GetId(), > 'advertisingChannelType': 'SEARCH', > 'budget': { > 'budgetId': budget_id > }, > 'networkSetting': { > 'targetGoogleSearch': True, > 'targetSearchNetwork': True, > 'targetContentNetwork': False, > 'targetPartnerSearchNetwork': False, > }, > 'biddingStrategyConfiguration': { > 'biddingStrategyType': 'MANUAL_CPC' > } > #'biddingStrategyConfiguration': { > # 'biddingStrategyType': 'TARGET_CPA', > # 'biddingScheme': { > # 'xsi_type': 'TargetCpaBiddingScheme', > # 'targetCpa': { > # 'microAmount': 1000000, > # } > # } > #} > }, > 'operator': 'ADD' > } > for i in campaigns] > return campaign_operations > > > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads 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 https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/c8f6aaa4-9a61-4dc3-8fef-d6e1c95e9e26%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.