Re: TargetingIdeaService not return results

2017-10-09 Thread Артемий Гаврюшин
Hello! How can I get a SOAP request and response from TargetingIdeaService call (using the PHP SDK)? понедельник, 9 октября 2017 г., 12:15:05 UTC+3 пользователь Peter Oliquino написал: > > Hi, > > Could you provide the screenshot of the Keywords Planner results using the > same filters and the

TargetingIdeaService not return results

2017-10-09 Thread Артемий Гаврюшин
// Create selector. $selector = new TargetingIdeaSelector(); $selector->setRequestType(RequestType::STATS); $selector->setIdeaType(IdeaType::KEYWORD); $selector->setRequestedAttributeTypes([ AttributeType::KEYWORD_TEXT, AttributeType::SEARCH_VOLUME, AttributeType::AVERAGE_CPC ]); $searchParameter

Re: SelectorError.INVALID_FIELD_NAME for AdGroupCreativeApprovalStatus (AdGroupAd.ApprovalStatus)

2017-06-13 Thread Артемий Гаврюшин
Thanks! Its Work! $selector->setFields(['PolicySummary']); ... $ad->getPolicySummary()->getCombinedApprovalStatus(); четверг, 8 июня 2017 г., 5:45:30 UTC+3 пользователь Peter Oliquino написал: > > Hi, > > As mentioned in my previous response, you may get the PolicyApprovalStatus >

Re: SelectorError.INVALID_FIELD_NAME for AdGroupCreativeApprovalStatus (AdGroupAd.ApprovalStatus)

2017-06-07 Thread Артемий Гаврюшин
Thank you. I'm using the latest version (v201705). I want to know: my ads are DISAPPROVED or APPROVED. среда, 7 июня 2017 г., 12:05:45 UTC+3 пользователь Peter Oliquino написал: > > Hi, > > In the latest version (v201705), the Ads policy related fields for the > AdGroupAd have been removed > <

Re: Why Array?

2017-06-07 Thread Артемий Гаврюшин
Hi. Yes: expects an array of predicates. But Why? PredicateOperator::NOT_EQUALS - Expects a single value, not a list. new Predicate('Status', PredicateOperator::NOT_EQUALS, ['REMOVED']); // is correct? вторник, 6 июня 2017 г., 22:06:19 UTC+3 пользователь Sreelakshmi Sasidharan (AdWords API Te

SelectorError.INVALID_FIELD_NAME for AdGroupCreativeApprovalStatus (AdGroupAd.ApprovalStatus)

2017-06-07 Thread Артемий Гаврюшин
Docs: https://developers.google.com/adwords/api/docs/reference/v201702/AdGroupAdService.AdGroupAd Note: AdGroupAd.ApprovalStatus: This field can be selected using the value "AdGroupCreativeApprovalStatus". get($session, AdGroupAdService ::class); $selector = new Selector(); $selector->setFields(

Why Array?

2017-06-06 Thread Артемий Гаврюшин
Do: new Predicate('Status', PredicateOperator::NOT_EQUALS, 'REMOVED') Result: must be of the type array, string given ~/vendor/googleads/googleads-php-lib/src/Google/AdsApi/AdWords/v201705/cm/Predicate.php:32 Predicate now only Array? -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also

Error in XmlDeserializer.php (line: 136)

2016-08-08 Thread Артемий Гаврюшин
Appears when an error report creation (v201607) /google_api/src/Google/Api/Ads/AdWords/Util/XmlDeserializer.php (line: 136) http://prntscr.com/c1zuwn $name = $parameterMap[$name]; I replace it: $name = isset($parameterMap[$name])?$parameterMap[$name]:''; -- -- =~=~=~=~=~=~=~=~=~=~=~=