| Adwords-api Mar 15, 08:06 ADT P Anand <pana...@gmail.com>: Mar 15 03:25AM -0700
Hi Vincent, Thanks for the reply. I have checked the apache logs and get nothing in them.The problem is there are no errors and the response in browser console is 200, so there is no indication of the error. However, I created a new project with just googleads/googleads-php-lib using composer. composer.json is as follows "require": { "php": ">=5.5.9", "google/auth": "^1.0.0", "googleads/googleads-php-lib": "^33.1.0" } I am running a test report with the same code as previously posted and now I am getting the following error: A PHP Error was encountered Severity: Parsing Error Message: syntax error, unexpected ':', expecting ';' or '{' Filename: Normalizer/GetSetMethodNormalizer.php Line Number: 59 Backtrace: My PHP Version is as follows PHP 5.6.34-1+ubuntu14.04.1+deb.sury.org+1 (cli) I have also tried the same code on a different machine with PHP v 7.2.3 on Ubuntu 16.04 , but no success on that either. I appreciate you help. I look forward for your reply. Thanks and Regards Pete | P Anand <pana...@gmail.com>: Mar 15 03:50AM -0700
Hi Vincent, Thanks for the reply. To answer your questions 1) Logs : I have checked the apache logs and get nothing in them. When i run this script in the browser, i get 200 response, with nor errors at all. 2) Other Services. I have tested getting a client List which is successful. Example given below 3) I have installed the library bu using composer upgrade However, I created a new project with just googleads/googleads-php-lib using composer. composer.json is as follows "require": { "php": ">=5.5.9", "google/auth": "^1.0.0", "googleads/googleads-php-lib": "^33.1.0" } I am running a test report with the same code as previously posted and now I am getting the following error: A PHP Error was encountered Severity: Parsing Error Message: syntax error, unexpected ':', expecting ';' or '{' Filename: Normalizer/GetSetMethodNormalizer.php Line Number: 59 Backtrace: My PHP Version is as follows PHP 5.6.34-1+ubuntu14.04.1+deb.sury.org+1 (cli) I have also tried the same code on a different machine with PHP v 7.2.3 on Ubuntu 16.04 , but no success on that either. I have tried using getting a client list using $adWordsServices = new AdWordsServices(); $session = (new AdWordsSessionBuilder()) ->withOAuth2Credential($this->client) ->withClientCustomerId($clientId) ->withDeveloperToken($this->developer_token) ->build(); which is successfully working without any errors. To my surprise, everything was working fine till i upgraded to v201802. I tested on v201710 and everything works, without upgrading any PHP version. I appreciate you help. I look forward for your reply. Thanks and Regards Pete | "Luis Xander Talag (AdWords API Team)" <adwordsapiadvi...@google.com>: Mar 14 11:12PM -0700
Hi Steve, The AuthenticationError.NOT_ADS_USER <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER> error you encountered means that the login you used to generate the access token is not associated with any AdWords account. This being said, could you provide the complete SOAP request and response that was generated when you encountered the error and also the email address used for generating OAuth2 credentials? You may reply via the *Reply privately to author* option. Thanks and regards, Luis AdWords API Team | steve...@just-eat.com: Mar 15 03:14AM -0700
Hi, The login works when I use the v201710 client though. I only get this error after upgrading to v201802. I'll see if I can capture the request. Thanks, Steve. On Thursday, 15 March 2018 06:12:37 UTC, Luis Xander Talag (AdWords API Team) wrote: -- ------------------------------ This is an e-mail from the company JUST EAT plc. This e-mail may contain confidential information and/or privileged or personal advice. This e-mail is intended for the addressee(s) stated above only. If you receive this e-mail by mistake, please return it to JUST EAT plc without producing, distributing or retaining copies hereof. Thank you. | "Milind Sankeshware (AdWords API Team)" <adwordsapiad...@google.com>: Mar 14 12:57PM -0700
Hi, Are you trying to create shopping Ads using the API? If so, please check this code sample <https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201802/shoppingcampaigns/AddShoppingCampaign.java> in Java for reference. The guide on shopping campaigns <https://developers.google.com/adwords/api/docs/guides/shopping> will also be helpful for you. In the code, you will need to specify the merchant center Id which is linked with the AdWords Account. If your question was different, could you please elaborate? Thanks, Milind, AdWords API Team. | 18824...@163.com: Mar 15 03:04AM -0700
Hi, Yes,I am trying to create shopping Ads using the API. The shopping Ads created with the code sample is entire products of a country,However I just need a part of the products which was got by some condition, such as ‘Category’,'Brand','Item ID' and soon on. So I have to use the merchant's products like the additional picture display,and use them by AdWords Api to create shopping Ads. 在 2018年3月15日星期四 UTC+8上午3:57:56,Milind Sankeshware (AdWords API Team)写道: | malie...@gmail.com: Mar 14 03:15PM -0700
Hi everyone, We would like to put out ads to read specific text in the headline combined with the location for the searcher. For example: *Best Service Provider in {Cite, State}* This is not something that can be done through dynamic search ads, as this will require a separate campaign for each city targeted and a very specific list of keywords. Any ideas on how to build a script like this? Thank you! | jonathan....@auto1.com: Mar 15 01:11AM -0700
Hi Sreelakshmi, thank you very much for your quick answer, especially for linking to the code sample! My problem is, that there is also a limit on NegativeCampaignCriterion of only 10k. https://support.google.com/adwords/answer/6372658?hl=en is stating "10,000 negative keywords per campaign", I assume that this limit holds also for negative placements. Am I right with this assumption, or should the number of excluded placements per campaign be unlimited? If I am right, is there any way to exclude more than 10k entities per campaign while having more than 20 campaigns in the account? Thank you ever so much for your help! Jonathan On Wednesday, March 14, 2018 at 5:02:03 PM UTC+1, Sreelakshmi Sasidharan (AdWords API Team) wrote: | Peter Oliquino <adwordsapiadv...@google.com>: Mar 14 10:47PM -0700
Hi Nikos, Thank you for sending the names of the missing areas. I looked them up using the AdWords UI search location feature and I can confirm that they are also non-existent in the targetable locations by AdWords. I would not be able to log this as a feature request for the AdWords API since the said locations are also not available from the AdWords UI and the API only mirrors what is available from the UI. I would recommend that you get in touch with the product experts in the AdWords Community Forum <https://www.en.advertisercommunity.com/t5/Google-AdWords/ct-p/Google_AdWords#> should you wish to discuss this matter further in the UI side. As for using postal codes for targeting, you will first need to filter the geo targeting spreadsheet using the Target Type = Postal Code filter then identify its Criteria ID. Once you have identified the ID, you can then use that criteria ID for targeting using the AdWords API. Best regards, Peter AdWords API Team | "Luis Xander Talag (AdWords API Team)" <adwordsapiadvi...@google.com>: Mar 14 10:34PM -0700
Hi Santiago, Your SOAP request and response appears to be fine and the warning issue regarding UTF-8 seems to be more related to the configuration of your client library. I would suggest to post your issue here <https://github.com/googleads/googleads-python-lib/issues> as the client library owners are better equipped to assist you in this matter. Thanks and regards, Luis AdWords API Team | s...@feedonomics.com: Mar 14 03:23PM -0700
Some campaign names returned from an AdGroup report are appended with " - Target CPA - Ads and Strategy". Is there a report settings override to ensure only the original campaign names are returned? -- Want to sell on Amazon, Walmart, and Jet? FeedAMP <http://feedonomics.com/feedamp-feedonomics-automated-marketplaces/>™ lets you easily sync orders back to your Shopify, BigCommerce, Magento, or Woocommerce store. | "Vincent Racaza (AdWords API Team)" <adwordsapiad...@google.com>: Mar 14 10:16PM -0700
Hi, I believe that the original campaign names will be returned in any report types that contains the CampaignName <https://developers.google.com/adwords/api/docs/appendix/reports/all-reports#campaignname> field. It won't be modified as the data will just be based from the original campaign names from your account. If the campaign name was indeed modified on your end, then it seems that you may have a post-processing in your report that makes the campaign names being modified. However, so I can further investigate this, can you provide to me your clientCustomerId as well as your complete report definition <https://developers.google.com/adwords/api/docs/guides/reporting#create_a_report_definition> via *Reply privately to author* option? Thanks, Vincent AdWords API Team | Ryan <ry...@customerstories.net>: Mar 14 01:01PM -0700
Perhaps a clue is the response I get from running the utility: "Hit Auth error, please navigate to URL" Why is it talking about an error while it's otherwise happily providing me with the link? On Wednesday, March 14, 2018 at 12:36:45 PM UTC-7, Ryan wrote: | Ryan <ry...@customerstories.net>: Mar 14 03:47PM -0700
Solution: I needed to move my adwords_api.yml file to my home directory. I had provided a local path to AdwordsApi::Api.new, and the file was reading correctly, so it seems kinda odd that writing to a different place would result in failure, but that appears to be what happened. On Wednesday, March 14, 2018 at 1:01:08 PM UTC-7, Ryan wrote: | | |