BatchJobService results can't be deserialized (PHP)

2016-01-21 Thread Péter Gerő
Hi, Our tool uses the PHP client lib. and even running the sample "AddCompleteCampaignUsingBatchJob.php" an exception is thrown when there are errors in the downloaded result set, so basically it cant process the results. I have traced it back to XmlDeserializer.php utility. The error

Re: Adwords PHP API Web Application problem

2016-01-21 Thread Thanet Knack Praneenararat (AdWords API Team)
Hi Roberto, As Yin has suggested, you can use *installed application* type for your web application. Do you consider this option too? Do you have a strong business need to use *web application* type? As for getting refresh tokens, you can do it via OAuth2 Playground

Re: HTTP Error 403: Forbidden

2016-01-21 Thread Anthony Madrigal
Hello, Could you please provide me with more information about the error? If you have any SOAP logs, that would be great. Please send all the information via *Reply privately to author.* Thanks, Anthony AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us

Missing campaigns and ad groups when hitting the AdWords API?

2016-01-21 Thread Amir
I'm downloading performance reports via the API (using CAMPAIGN_PERFORMANCE_REPORT and ADGROUP_PERFORMANCE_REPORT report types), but not all of the campaigns/ad groups are showing up. Is there some reason this would be the case? Data for these missing campaigns are displayed in the AdWords UI

Re: Batch job was processed partially but got CANCELED status without downloadUrl and processingErrors

2016-01-21 Thread GD
We also have this problem. Answers are in the form below, which is not very helpful as to why it failed. Started seeing this recently. (BatchJob){ id = 1147040 status = "CANCELED" progressStats = (ProgressStats){ numOperationsExecuted = 5000

Re: Keyword Stats (Clicks, Costs etc.) in v201509

2016-01-21 Thread Anthony Madrigal
Hello, Unfortunately, there is no way to get stats such as clicks or costs other than using reports via the API. For keywords, you will need to run the Keywords Performance Report. Regards, Anthony AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our

BatchJobService upload containing objects with "&" can't be serialized (PHP)

2016-01-21 Thread Péter Gerő
Hi, I have an XML product feed, which I was trying to process with BatchJobService, but in many cases an exception was thrown, saying "unterminated entity reference". This happened before the objects were uploaded to AdWords, so I took a look at the XmlSerializer utility, because I traced

Re: Missing campaigns and ad groups when hitting the AdWords API?

2016-01-21 Thread Anthony Madrigal
Hi Amir, There are a few reasons why some campaigns and ad groups do not show up in your reports. Like Peter said, you should make sure includeZeroImpressions is set to FALSE. Another reason they may not show up is because the campaigns or ad groups were removed. If you would like to include

Keyword Stats (Clicks, Costs etc.) in v201509

2016-01-21 Thread Wizard Meccup
Hello, i am newbie at adWords API. I use php libraries and i want to retrieve keyword statistics (clicks, costs, maxCPC etc.) like on the page "Keywords" in adwords.google.com without report definiton (ReportDefinitionService). Can you help me ? Thanks... -- --

Re: Missing campaigns and ad groups when hitting the AdWords API?

2016-01-21 Thread Péter Gerő
Hi, I had the same issue couple weeks ago, have you set the includeZeroImpressions to true? Peter 2016. január 21., csütörtök 15:02:35 UTC+1 időpontban Amir a következőt írta: > > I'm downloading performance reports via the API > (using CAMPAIGN_PERFORMANCE_REPORT and

Re: Unable to connect.

2016-01-21 Thread Pankaj Tiwari
Hi Anthony, I upgraded my Adword API to v201509 as told by you but than also I am getting the same. Please help. Thank you. On Wednesday, January 20, 2016 at 11:00:28 PM UTC+5:30, Anthony Madrigal wrote: > > Hi Pankaj, > > The reason your reports are failing is because you are using AdWords API

Re: Adwords PHP API Web Application problem

2016-01-21 Thread roberto . smith
Hello Thanet, thanks for your answer. I tried it via OAuth2 Playground and it works. I didn't read well that I can use *installed application* type for your web application. I don't know which is the best option, but at

Re: Getting all sitelinks from my MCC

2016-01-21 Thread Mark
Hello Josh, Thanks for the information. So placeholder field ID = 1 always be sitelinks. And by looking at respective Attribute values under feed item report I can get sitelink urls. I'm following correct path here? Thank, -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find

'REMOVED' product groups now unexpectedly being returned in get call to AdGroupCriterionService (urgent)

2016-01-21 Thread HK
Hi, guys Starting last night, we are now unexpectedly receiving a lot of deleted (removed) product groups. We are using v201506. This has not been the case over at least the last two years. We have a large number (maybe all = hundreds) of customers affected by this. Is this an intentional

Re: Reporting on site link and ad extensions

2016-01-21 Thread Mark
Hello Anthony, Yes, I got the stats. But not able to identify site kink Urls. Can you please provide more details how I can get Site link URLS ? Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/

Re: Operation limit for adgroupcriterions on shopping adgroups

2016-01-21 Thread Anash P. Oommen (AdWords API Team)
Hi Michael, If you can share your customer ID, I can file a feature request with a reference to that account as use case. That said, are you using multiple threads? How many calls are you making in parallel? Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, January 20, 2016 at

Re: BatchJobService upload containing objects with "&" can't be serialized (PHP)

2016-01-21 Thread Anthony Madrigal
Hi Peter, Could you please file a bug in the PHP client library issue tracker ? Thanks, Anthony AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:

Re: 'REMOVED' product groups now unexpectedly being returned in get call to AdGroupCriterionService (urgent)

2016-01-21 Thread Yin Niu
Hi Hans, I am not able to find an entity field named as AdGroupStatus. Are you sure you haven't changed your query? Can you give me your ClientCustomerID and your code snippet so that I can make further investigation? Please click *Reply privately to author* in the forum when responding.

Re: 'REMOVED' product groups now unexpectedly being returned in get call to AdGroupCriterionService (urgent)

2016-01-21 Thread HK
I have responded privately to Yin. Note that the deleted product groups are included in an active adgroup, so I don't think the adgroup status is causing this. There is only one ad group in the response, we should received 64 product groups in this ad group but we are getting 518. All the

AuthenticationError.NOT_ADS_USER @

2016-01-21 Thread Matthew Trevor
I'm rather new to the Google Adwords API but I'm struggling with the authentication. I've looked at the other posts that people have put on but they don't seem to relate to my issue, I think. The process so far: In the web app we get the Google authorisation code and this comes back fine. We

Re: SOAP XML error for Chinese Names in ManagedCustomerService

2016-01-21 Thread Mark Saniscalchi
Hello, We aren't able to replicate this issue with account names containing unicode characters. In my case, I ran the get_account_hierarchy.py sample and got

Re: AuthenticationError.NOT_ADS_USER @

2016-01-21 Thread Yin Niu
Hi Matt, When you get NOT_ADS_USER error, it means the login used to generate the access token is not associated with any AdWords account. Thanks, Yin, AdWords API Team. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:

Re: 'REMOVED' product groups now unexpectedly being returned in get call to AdGroupCriterionService (urgent)

2016-01-21 Thread Anash P. Oommen (AdWords API Team)
Hi, I checked with the team, this seems to be an intentional change to fix a reporting issue. I realize that this is a breaking change for your code, but the fix is relatively straightforward - you need to add a predicate to filter out criteria with status=REMOVED. That should return the

Re: 'REMOVED' product groups now unexpectedly being returned in get call to AdGroupCriterionService (urgent)

2016-01-21 Thread HK
Hi, Anash I really, really wish changes like these would be saved for an API update, as it is extremely disruptive to current solutions depending on the current API behavior (it's been this way for several years). If nothing else, at least add a note to the forum about the upcoming change a

Re: Reporting on site link and ad extensions

2016-01-21 Thread Anthony Madrigal
Hey Mark, The AttributeValues field should contain your sitelink URLs. Alternatively, you can also use the Final URL Report

CAMPAIGN_LOCATION_TARGET_REPORT missing video_views?

2016-01-21 Thread Tex Russky
While many performance reports do return video_views (for TrueView campaigns), I don't see video_views in CAMPAIGN_LOCATION_TARGET_REPORT doc or in the returned results. Is this true? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+:

Re: How do you set a custom date with python

2016-01-21 Thread pedro
How can I set this value from script input (using terminal)? On Wednesday, April 30, 2014 at 11:37:32 AM UTC-3, Ray Tsang (AdWords API Team) wrote: > > laboo, > > Please see the XSD > > for > the schema

Re: Getting all sitelinks from my MCC

2016-01-21 Thread Josh Radcliff (AdWords API Team)
Hi, The placeholder *type* will always be 1 for sitelinks, but the attribute IDs you get back in the JSON may vary by feed. There are two phases to setting up a feed: 1. Create the Feed and specify the list

Re: CALL_METRICS_CALL_DETAILS_REPORT During clause

2016-01-21 Thread Anash P. Oommen (AdWords API Team)
Hi Tiana, Could you respond privately with a HTTP request that shows this behaviour? May be the behaviour of this report changed recently due to another change on our servers. If that's the case, I'll get the documentation updated. Cheers, Anash P. Oommen, AdWords API Advisor On Wednesday,

Re: BatchJob result contains less operations that it was in request

2016-01-21 Thread Anash P. Oommen (AdWords API Team)
Hi Ilya, Apologies for the delay, I'll ask the team to take a look. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, January 21, 2016 at 1:28:57 AM UTC-5, Ilya Isakov wrote: > > Up. The problem exists and I believe solution will be helpful for others > who use BatchJobService for

Re: Find successful operations after an ApiException

2016-01-21 Thread Andy
Hi Yin, Isnt AdGroupCriterionServiceInterface different from MutateJobService? I find only get, mutate, mutateLabel, query in AdGroupCriterionServiceInterface. How to find the result of AdGroupCriterionServiceInterface.mutate operation after an ApiException? On Wednesday, January 20, 2016 at

Re: Batch job was processed partially but got CANCELED status without downloadUrl and processingErrors

2016-01-21 Thread Anash P. Oommen (AdWords API Team)
HI Ilya, GD, Apologies for the delay, I'll ask the team to take a look at the issue. Cheers, Anash P. Oommen, AdWords API Advisor. On Thursday, January 21, 2016 at 9:08:59 AM UTC-5, GD wrote: > > We also have this problem. > > Answers are in the form below, which is not very helpful as to why

Image ads Layout settings via API

2016-01-21 Thread Anil Vadhavane
Hello, Is it possible to get/set Layout settings in Image display ads via API? Below are the options showing in adwords account for layout selection. - Let AdWords pick from available layouts - Select one layout Thanks -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on

Re: Adwords PHP API Web Application problem

2016-01-21 Thread Thanet Knack Praneenararat (AdWords API Team)
Hello Roberto, Glad to hear that. Feel free to ask if you have any further questions. Best, Thanet, AdWords API Team On Friday, January 22, 2016 at 1:24:12 AM UTC+9, roberto.sm...@convierta.cl wrote: > > Hello Thanet, thanks for your answer. > > I tried it via OAuth2 Playground >

Re: Unable to connect.

2016-01-21 Thread Anthony Madrigal
Hey Pankaj, Are you still using the same report definition? KeywordText was replaced with Criteria in v201506. Also, please make sure that anywhere where v201502 appears is replaced by