It's not quite as bad as that. You can find out whether a budget is able to be shared or not, by attempting to share it. If you get an error ... it's not able to be shared. If you don't get an error ... it is able to be shared (remember to unshare it again ). Then set your flag accordingly.
Elegant :P On Tuesday, 27 November 2012 09:02:47 UTC+11, Ian wrote: > > From the migration guide ( > https://developers.google.com/adwords/api/docs/guides/shared-budgets#types > ): > "You only need to be aware of the differences as you may want to > manage/create/view Shared Budgets using the AdWords UI. Individual Budgets > do not appear in an Account’s Shared Library in the AdWords UI. > > Budget objects that have a ReferenceCount > 1 are Shared, but it cannot > be assumed that a ReferenceCount <= 1 is not Shared. If you are keeping > track of Campaign Budgets in a local datastore, it's recommended that you > add a flag to indicate if the Budget is Shared or Individual." > > So we are supposed set a flag based on an admittedly faulty assumption? > FTW!? Then it may or may not be automatically deleted...wait what? > > The major problem here for us is this: Customers use multiple tools to > manage their campaigns, i.e. our tool, AdWords UI, AdWords Editor, internal > tools, etc. So if they create a new campaign via our tool fine, we know how > the budget was created, if it was shared, etc. However if they created it > via another tool, we must rely on the faulty assumption above and guess. > This is a terrible user (not to mention developer) experience. > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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
