Re: How to avoid PolicyViolationError beorehand in scripts

2018-12-20 Thread Евгений Гардыш
eed to continue using working parts of your script... четверг, 20 декабря 2018 г., 11:09:00 UTC+2 пользователь Евгений Гардыш написал: > > Hi. > > Sometimes I encountering PolicyViolationError during scripts work. > For example: > PHP Fatal error: Uncaught Google\AdsApi\AdWords

Re: Is there a script that can apply labels to ads paused by a script?

2018-12-20 Thread Евгений Гардыш
You need to write metod which add labels to your ads campaigns using AddCampaignLabels class... четверг, 20 декабря 2018 г., 1:05:16 UTC+2 пользователь mpr...@harmelin.com написал: > > Simply put i'm using a script that will pause ads if URLs are pointing to > 404s. However, i need a script to

How to avoid PolicyViolationError beorehand in scripts

2018-12-20 Thread Евгений Гардыш
Hi. Sometimes I encountering PolicyViolationError during scripts work. For example: PHP Fatal error: Uncaught Google\AdsApi\AdWords\v201809\cm\ApiException: [ PolicyViolationError{super=PolicyViolationError.POLICY_ERROR @ operations[3 ].operand.criterion.text; trigger:'в +капсулах', key=PolicyVio

[PHP] How to convert response getKeyword()->getMatchType() from INT to STRING REPRESENTATION

2018-12-05 Thread Евгений Гардыш
Hi. Trying to use PHP lib google-ads-php. I`m making call getAdGroupCriterion()->getKeyword()->getMatchType() and get results as int. For example: 2 . I found a class Google\Ads\GoogleAds\V0\Enums\KeywordMatchTypeEnum\KeywordMatchType with defined constants which are representing int answer.

How to get Negative Keywords List added on Account level?

2018-12-04 Thread Евгений Гардыш
Hi. I`m converting Adwords Script named as "Negative Keyword Conflicts - Manager Account" to use on my server via Ads API based on PHP library. All is great... Campaign level negatives list I can get from CAMPAIGN_NEGATIVE_KEYWORDS_PERFORMANCE_REPORT. AdGroups level negatives list I can get fr