BatchJobProcessingError.FILE_FORMAT_ERROR when using php client library

2017-11-14 Thread orzorc
Hi, I am using php client library for copy keywords between ad groups. I read all keywords and make a batch job request. Most operations are accepted except that some keywords are labeled and I need make new labels first. So I add label operations before criterion operations but which leads to a

BatchJobProcessingError.FILE_FORMAT_ERROR when using php client library

2017-11-14 Thread orzorc
Hi, Sorry , I can not find previous post so I have to repost it. I'm using php client library to copy keywords between ad groups. I read all keywords in one group and clean id in each keyword before adding to criterion operations. It works fine except for some labeled keywords. So I added some la

Re: BatchJobProcessingError.FILE_FORMAT_ERROR when using php client library

2017-11-15 Thread orzorc
Thank you very much. I forgot that not all operations could done by batch job. In this case, could you please consider to return a more specific error to tell us that the operation is not supported by batch job? And really really appreciate your help On Wednesday, November 15, 2017 at 3:22:52 PM

how can I copy campaign ad extensions to another

2017-11-30 Thread orzorc
Hi, I want to copy all extensions attached to A_campaign in A_account to B_campaign in B_account and B_account has no extensions. I have read the examples about extension but have no clue how can I make use of them. I have n

Re: how can I copy campaign ad extensions to another

2017-11-30 Thread orzorc
what's more, C_campaign in B_account is requiring the same set of extensions, how can I copy to both C_campaign and B_campaign? So I need to know how to operate with feed id and feed mapping id and attach them to campaign? 在 2017年12月1日星期五 UTC+8上午10:59:44,orzorc写道: > > Hi, > I wa

Re: how can I copy campaign ad extensions to another

2017-12-03 Thread orzorc
I can get some object via CampaignExtensionSettingService. And dump the result objects. I notice that every ExtensionSetting object includes some FeedItems, like CalloutFeedItem, AppFeedItem. Does this mean it is feed based? On Friday, December 1, 2017 at 3:54:46 PM UTC+8, Peter Oliquino wrote:

Re: how can I copy campaign ad extensions to another

2017-12-03 Thread orzorc
And I find that different feedItems share same feedId. How can I create that feedId and assign it to the right feedItems? On Friday, December 1, 2017 at 3:54:46 PM UTC+8, Peter Oliquino wrote: > > Hi, > > There is currently no direct way to achieve this. Depending on the AdWords > API service tha

unable to remove labels from AdGroupCriterion using php client library

2017-12-14 Thread orzorc
Hi, I found that AdGroupCriterion.setLabels requires an array which means you can not set null to labels. But if you pass it with an empty array and upload, you will get errors like 'operations[0].operand.labels[0].id=>EntityNotFound.INVALID_ID'. So one will not be able to remove labels from thos

Re: unable to remove labels from AdGroupCriterion using php client library

2017-12-14 Thread orzorc
M UTC+8, Milind Sankeshware (AdWords API Team) wrote: > > Hi Orzorc, > > To removes labels from the AdGroupCriterion, you can use mutateLabel > <https://developers.google.com/adwords/api/docs/reference/v201710/AdGroupCriterionService#mutatelabel> > of AdGr

Re: unable to remove labels from AdGroupCriterion using php client library

2017-12-15 Thread orzorc
a good practice. Maybe client library could have a method to set property 'labels' to null. On Saturday, December 16, 2017 at 5:34:58 AM UTC+8, Milind Sankeshware (AdWords API Team) wrote: > > Hi Orzorc, > > When you perform an AdGroupCriterionService.get() > <https