Re: Catchable fatal error: Argument 1 passed to GuzzleHttp\Psr7\rewind_body()

2017-04-24 Thread 'Peter Oliquino' via AdWords API Forum
Hi David, Seeing that the error is more related to the client library itself, you could directly get in touch with the client library owners through this link as they are more equipped to assist you with your concern. Thanks and regards,

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi James, On September 12th, 2016, AdWords announced that you can now use one Google login to access multiple AdWords accounts. With this change, you can associate up to 5 AdWords accounts with a single Google account. In this scenario,

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread James Andrews
Hi Shwetha, OK, so if I call getCustomers() with the oauth credentials the return is an array, but it sounds like you're saying that the array will only ever have 1 node and that will be the customer associated with the oauth credentials. If that's the case then I think i am set, please

Re: Auto-Migration Manual Location Extensions

2017-04-24 Thread Alexandre Ho-Latreille
Yes I meant PLACEHOLDER_FEED_ITEM_REPORT. Since the answer is yes for the first question I have no worries for the fetching of stats! Thank you very much :)! On Monday, April 24, 2017 at 12:57:54 PM UTC-4, Thanet Knack Praneenararat (AdWords API Team) wrote: > > Hello Alex, > > You will still

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi James, Assuming you have the OAuth2 credentials of the user for whom you need to retrieve the AdWords account details, you need to use CustomerService.getCustomers() method without setting the

Re: Clone a campaign using only API

2017-04-24 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Emanuele, The AdWords API does not have a clone functionality. If you want to create a copy of any object (campaign, adgroup, keyword..), you can first use the get service of that specific object and then pass the retrieved object to the mutate call of the corresponding service with the

Re: TOO_RECENT_CONVERSION_TYPE error when trying to add offline conversion

2017-04-24 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Yosi, Could you check if the conversion type you're uploading to was enabled at the *time of the click*? The error CLICK_MISSING_CONVERSION_LABEL usually means that

Re: Shopping Performance Report returns same product twice

2017-04-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Marc, Sorry for the delay. It looks like this works as intended--all data of CategoryL5 is returned in SHOPPING_PERFORMANCE_REPORT. I'm still asking if there are other workarounds for this. Best, Thanet, AdWords API Team On Monday, April 24, 2017 at 4:01:49 PM UTC+9, Marc P wrote: > > Hi

Re: Auto-Migration Manual Location Extensions

2017-04-24 Thread 'Thanet Knack Praneenararat (AdWords API Team)' via AdWords API Forum
Hello Alex, You will still be able to fetch location extensions with feed item services. > how is the fetching of the stats of location extensions will be affected > after the migration, will it be the same behavior as before? I think you mean PLACEHOLDER_FEED_ITEM_REPORT? If so, you'll get

Clone a campaign using only API

2017-04-24 Thread Emanuele Bragagnolo
Hi I am implementing a feature to clone a whole AdWords campaign using only the API. Basically I want the same behavior of the CTRL+C and CTRL+V that is available in the AdWords UI with a deep copy of the campaign and of all the AdGroups contained in it. I've found this old thread

Copy or clone a Campaign using API

2017-04-24 Thread Emanuele Bragagnolo
Hi! I am trying to implement a functionality to clone an AdWords campaign using the API. Basically I want the same behavior of the CTRL+C and CTRL+V that is available in the AdWords UI with a deep copy of the campaign and of all the AdGroups contained in it. The approach I am trying to use is

Re: Auto-Migration Manual Location Extensions

2017-04-24 Thread Alexandre Ho-Latreille
Hello, following this discussion, once the locations are migrated, I know I won't be able to manage those through the feed item service and will have to create them with GMB. What I want to know is will I still be able to fetch those location extensions with the feed item service and how is

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread James Andrews
I hadn't seen the notice for update, so that's something I guess I need to work on. The question is then, is there a way to get the customer information on the owner of the access token with the new api? I'll explain why I need it. We don't and never have used an INI file. We pull data for

Re: Demographical report (AgeRanges + Gender)

2017-04-24 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Adamos, The metrics and stats will only be available via reports. Since the Age and Gender fields are not available in one report, it might not be possible to combine the stats of both. The services can be used to get the targeting criterion of type AGE_RANGE and GENDER set at a specific

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi James, If you haven't set the clientCustomerId in your auth.ini file, then you'll not be able to retrieve it from the AdWordsUser object. To use the CustomerService to retrieve the AdWords account associated with the authenticated user, you need to use the getCustomers

Re: ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread James Andrews
I should point out that $this->user is an AdwordsUser object. On Monday, April 24, 2017 at 10:00:21 PM UTC+9, James Andrews wrote: > > Last week I noticed that there was a change to the php Adwords API library. > > Previously when we authenticated a user I would use: > > $customerService =

Re: Catchable fatal error: Argument 1 passed to GuzzleHttp\Psr7\rewind_body()

2017-04-24 Thread david . castro
Hi Peter, I have this problem too. I'm running the latest version of Google Ads API PHP client library (v201702) and PHP 5.5.38. Could you help me with that? I've checked this link but none of posted solutions are working on my side.

Re: Demographical report (AgeRanges + Gender)

2017-04-24 Thread adamos . loizou
AGE_RANGE_PERFORMANCE_REPORT DURING 20170424, 20170424 This AWQL provides the desired columns and metrics for each key tuple of (*Campaign ID, AdGroup ID, Device combo, Age Range*). What I would like to achieve is get the same types of metrics/columns but add the Gender dimension to the key tuple i.e

ClientCustomerId returns empty on AdwordsUser object

2017-04-24 Thread James Andrews
Last week I noticed that there was a change to the php Adwords API library. Previously when we authenticated a user I would use: $customerService = $this->user->GetService("CustomerService"); $customer = $customerService->get(); To get the customer associated with the user who granted us the

Re: basic API

2017-04-24 Thread desk
Ivan, hello. Did you receive my private letter to you? Regards понедельник, 24 апреля 2017 г., 10:33:10 UTC+3 пользователь Ivan Bautista написал: > > Hi, > > The application process usually takes within 2 business days >

Re: Cannot find Watch Time and Avg. Watch time/impressions in the API

2017-04-24 Thread 'Ivan Bautista' via AdWords API Forum
Hi, Are you perhaps referring to a report in the AdWords UI for the "Watch Time and Avg. Watch time/impressions" fields you have mentioned? If yes, could you reply to us privately (using *reply privately to author* option) with the complete screenshot of the AdWords UI report so I can better

Cannot find Watch Time and Avg. Watch time/impressions in the API

2017-04-24 Thread annalectautomation
Hi Guys, We cannot find the metrics Watch Time and Avg. Watch time/impressions in the Adwords API Ad Report. Please let us know if they are under different names. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:

Re: basic API

2017-04-24 Thread 'Ivan Bautista' via AdWords API Forum
Hi, The application process usually takes within 2 business days before you receive a response from the AdWords Compliance team. To further investigate on your issue, could you reply to us

basic API

2017-04-24 Thread desk
Hello. We sent a request for basic API access on April 19, 2017. How long does it take for an answer from Google? We did not even receive a notification to the email that the form was successfully sent. Did google receive it? How can this be checked? -- --

Re: Shopping Performance Report returns same product twice

2017-04-24 Thread Marc P
Hi Thanet, any update on this topic? Thanks Marc On Wednesday, April 5, 2017 at 9:27:17 AM UTC+2, Thanet Knack Praneenararat (AdWords API Team) wrote: > > Hi Marc, > > Thanks very much for reporting. > Your previous example then shows that *CategoryL5* really behaves like a > segment. > If