Is there a way to do this? attached image

2018-01-09 Thread kendan








*Is the above image possible in Google Adwords API in PHP? Probably using 
AWQL?*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cb95594f-c0b4-4641-b080-9db7ba9a0932%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible to retrieve 1 result of campaign? using campaign_id of course

2018-01-09 Thread kendan
Thanks!

On Tuesday, January 9, 2018 at 1:48:27 PM UTC+8, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Ken,
>
> To retrieve 1 result of a campaign, you can use the CampaignService.get() 
> 
>  or 
> through generating a report via Campaign Performance Report 
> .
>  
> If you wish to use the CampaignService.get(), you need to filter your 
> selector by campaign id 
> 
>  or name 
> .
>  
> You can refer to this PHP example 
> 
>  on 
> how to get campaigns.
>
> If you'll get your specific campaign via Campaign Performance Report, then 
> you can filter it by CampaignId 
> 
>  or CampaignName 
> .
>  
> You can refer to these examples 
>  on 
> how to generate a report.
>
> Let me know if you have further clarifications.
>
> Thanks,
> Vincent
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8ba3541f-91a6-45b2-a352-d02b0da1f7de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it possible to retrieve 1 result of campaign? using campaign_id of course

2018-01-08 Thread kendan
My question says it all. Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bcd25256-4c19-4dc8-9030-6c10dbab7b67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Convert this SQL code to adwords PHP

2018-01-05 Thread kendan

>
> Like for example how? 
>
 
Like this?


$selector->setPredicates([

new Predicate('Status', PredicateOperator::NOT_IN, ['PAUSED']),
new Predicate('Status', PredicateOperator::NOT_IN, ['PAUSED']),
new Predicate('Status', PredicateOperator::NOT_IN, ['PAUSED'])
]); 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5e0a15b4-e52d-40bd-a9bd-dd05967dac65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Convert this SQL code to adwords PHP

2018-01-04 Thread kendan


// Create selector.
$selector = new Selector();
$selector->setFields(['CampaignId', 'AdGroupId', 'Id', 'Criteria',
'CriteriaType', 'Impressions', 'Clicks', 'Cost']);

// Use a predicate to filter out paused criteria (this is optional).
$selector->setPredicates([
new Predicate('Status', PredicateOperator::NOT_IN, ['PAUSED'])]);


The PHP code above produces the SQL code below.

SELECT CampaignId, AdGroupId, Id, Criteria, CriteriaType, QualityScore
FROM CRITERIA_PERFORMANCE_REPORT
WHERE Status IN [ENABLED, PAUSED] and HasQualityScore='TRUE'


Here is the real question. What if I change the "and" to "or".




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c1ff3c48-789c-4f48-92aa-2c1b4c65d599%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do I get the account error alerts in Google Adwords dashboard via the API?

2017-12-19 Thread kendan
Its available in Java but not in PHP?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0c6545a6-f402-485e-a699-2bf2ad3b59db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it safe to give my soap.log to someone?

2017-12-15 Thread kendan
is it safe to give my soap.log to someone?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/17a14075-bc74-4b6d-87ef-94ee08e9c597%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do I get the account error alerts in Google Adwords dashboard via the API?

2017-12-15 Thread kendan


I have this error in my Google Adwords account. I wanted to get this 
information via the API. Is it possible?







-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c86ab1ba-af75-47d0-874a-9a477a1c9fdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you add a placement in ad group with criterion_type: MOBILE_APPLICATION?

2017-12-14 Thread kendan
I tried this code, it seems to be not working, what did I do wrong?


  *  $criterion_type = new MobileApplication();*
*$criterion_type->setDisplayName('Mobile App: Ken Player (Google 
Play), by Ken V7');*

On Thursday, December 14, 2017 at 3:14:05 PM UTC+8, ken...@blvnp.com wrote:
>
> I have this code adding placements using ad group id and url
>
>
>  *   $adGroupCriterionService = $adWordsServices->get($session, 
> AdGroupCriterionService::class);*
>
> *$placement = new Placement();*
> *$placement->setUrl($url);*
>
> *if($exclude == 'true'){*
> *  $adGroupCriterion = new NegativeAdGroupCriterion();*
> *}else{*
> *  $adGroupCriterion = new BiddableAdGroupCriterion();*
> *  $adGroupCriterion->setBidModifier($bid_adjustment);*
> *  $adGroupCriterion->setCriterion($placement);*
> *} *
>
> *$adGroupCriterion->setAdGroupId($adGroupId);*
>
> *$adGroupCriterionOperation = new AdGroupCriterionOperation();*
> *$adGroupCriterionOperation->setOperand($adGroupCriterion);*
>
> *switch ($operator) {*
> *  case 'add':*
> *$adGroupCriterionOperation->setOperator(Operator::ADD);*
> *  break;*
> *  case 'set':*
> *$adGroupCriterionOperation->setOperator(Operator::SET);*
> *  break;*
> *  case 'remove':*
> *$adGroupCriterionOperation->setOperator(Operator::REMOVE);*
> *  break;*
> *  default:*
> *// default is add*
> *$adGroupCriterionOperation->setOperator(Operator::ADD);*
> *  break;*
> *}*
>
>
> *$operations[] = $adGroupCriterionOperation;*
>
>
> *  $results = $adGroupCriterionService->mutate($operations);*
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e75593a9-e95c-40f2-9b14-5e71eed442f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do you add a placement in ad group with criterion_type: MOBILE_APPLICATION?

2017-12-13 Thread kendan
I have this code adding placements using ad group id and url


 *   $adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);*

*$placement = new Placement();*
*$placement->setUrl($url);*

*if($exclude == 'true'){*
*  $adGroupCriterion = new NegativeAdGroupCriterion();*
*}else{*
*  $adGroupCriterion = new BiddableAdGroupCriterion();*
*  $adGroupCriterion->setBidModifier($bid_adjustment);*
*  $adGroupCriterion->setCriterion($placement);*
*} *

*$adGroupCriterion->setAdGroupId($adGroupId);*

*$adGroupCriterionOperation = new AdGroupCriterionOperation();*
*$adGroupCriterionOperation->setOperand($adGroupCriterion);*

*switch ($operator) {*
*  case 'add':*
*$adGroupCriterionOperation->setOperator(Operator::ADD);*
*  break;*
*  case 'set':*
*$adGroupCriterionOperation->setOperator(Operator::SET);*
*  break;*
*  case 'remove':*
*$adGroupCriterionOperation->setOperator(Operator::REMOVE);*
*  break;*
*  default:*
*// default is add*
*$adGroupCriterionOperation->setOperator(Operator::ADD);*
*  break;*
*}*


*$operations[] = $adGroupCriterionOperation;*


*  $results = $adGroupCriterionService->mutate($operations);*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d1ec547e-762f-4f65-8553-c60de5ce6b17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
Holy shit.. It really worked! Thank you!

On Wednesday, December 13, 2017 at 4:37:00 PM UTC+8, ken...@blvnp.com wrote:
>
> I already have a workign Placement bid adjustment using ad group id and 
> final urls, it works fine.
>
>
> Follow up question: How do you bid adjust a placement using criterion id?
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/1175eb4a-9a04-4aaf-9891-4fc630c2dd35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
Placement class doesn't have setId method.





*url = $url;*
*}*

*/***
* * @return string*
* */*
*public function getUrl()*
*{*
*  return $this->url;*
*}*

*/***
* * @param string $url*
* * @return \Google\AdsApi\AdWords\v201708\cm\Placement*
* */*
*public function setUrl($url)*
*{*
*  $this->url = $url;*
*  return $this;*
*}*

*}*




On Wednesday, December 13, 2017 at 4:37:00 PM UTC+8, ken...@blvnp.com wrote:
>
> I already have a workign Placement bid adjustment using ad group id and 
> final urls, it works fine.
>
>
> Follow up question: How do you bid adjust a placement using criterion id?
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a7f77952-e715-4223-87ad-501b0d5a4f64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
Hi, can you teach me how to do it in PHP?

On Wednesday, December 13, 2017 at 4:37:00 PM UTC+8, ken...@blvnp.com wrote:
>
> I already have a workign Placement bid adjustment using ad group id and 
> final urls, it works fine.
>
>
> Follow up question: How do you bid adjust a placement using criterion id?
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9dee4372-7380-43b0-8a49-76c4bedb91ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
Im really sorry. Im not good with SOAP. Can you provide me a PHP?


I have this code with adjusting bid for placement using ad group id and url.


*$adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);*

*$placement = new Placement();*
*$placement->setUrl($url);*

*if($exclude == 'false'){*
*  $adGroupCriterion = new NegativeAdGroupCriterion();*
*}else{*
*  $adGroupCriterion = new BiddableAdGroupCriterion();*
*  $adGroupCriterion->setBidModifier($bid_adjustment);*
*}*

*$adGroupCriterion->setAdGroupId($adGroupId);*
*$adGroupCriterion->setCriterion($placement);*

*$adGroupCriterionOperation = new AdGroupCriterionOperation();*
*$adGroupCriterionOperation->setOperand($adGroupCriterion);*

*switch ($operator) {*
*  case 'add':*
*$adGroupCriterionOperation->setOperator(Operator::ADD);*
*  break;*
*  case 'set':*
*$adGroupCriterionOperation->setOperator(Operator::SET);*
*  break;*
*  case 'remove':*
*$adGroupCriterionOperation->setOperator(Operator::REMOVE);*
*  break;*
*  default:*
*// default is add*
*$adGroupCriterionOperation->setOperator(Operator::ADD);*
*  break;*
*}*


*$operations[] = $adGroupCriterionOperation;*

*try {*
*  $results = $adGroupCriterionService->mutate($operations);*
*} catch (Exception $e) {*
*return array(*
*  "status"  => "fail",*
*  "message" => 'Caught exception: '.  $e->getMessage()*
*);*
*}*

On Wednesday, December 13, 2017 at 4:37:00 PM UTC+8, ken...@blvnp.com wrote:
>
> I already have a workign Placement bid adjustment using ad group id and 
> final urls, it works fine.
>
>
> Follow up question: How do you bid adjust a placement using criterion id?
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f64f585a-db5d-4dad-9470-c78fa206be6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
@Vincent What I mean by *"bid adjust a placement"* is that I want to adjust 
the bid (like for example) %10 of a placement with type mobile application. 
This placement with type Mobile Application has a criterion ID.

As for the reference you give me, I don't think that guide would work just 
by replacing the Platform class. 

On Wednesday, December 13, 2017 at 4:37:00 PM UTC+8, ken...@blvnp.com wrote:
>
> I already have a workign Placement bid adjustment using ad group id and 
> final urls, it works fine.
>
>
> Follow up question: How do you bid adjust a placement using criterion id?
>
>
> Thanks!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2736a3c5-c527-4748-b9cc-59fc4da46468%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How do you bid adjust in a placement with mobile application type?

2017-12-13 Thread kendan
I already have a workign Placement bid adjustment using ad group id and 
final urls, it works fine.


Follow up question: How do you bid adjust a placement using criterion id?


Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e4db94fd-5eab-4c10-9c52-8f007f68098b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is there a way to make a bid adjustment for a Placement only for a particular demographic, or location?

2017-12-10 Thread kendan
Alright, thanks for pointing me that. Thanks!

On Friday, December 8, 2017 at 7:39:21 PM UTC+8, ken...@blvnp.com wrote:
>
> What I'm trying to accomplish is to make a bid adjustment to a particular 
> placement. But to make that bid adjustment only activate when viewed in a 
> particular country, or when viewed by a particular demographic (I.E. a 
> specific gender).
>
> Is this possible? And if it is possible, how could I confirm that it was 
> done correctly via the Adwords Interface.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b81d5af5-bf7f-471d-94b8-f5349c2b7f3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is there a way to make a bid adjustment for a Placement only for a particular demographic, or location?

2017-12-08 Thread kendan
What I'm trying to accomplish is to make a bid adjustment to a particular 
placement. But to make that bid adjustment only activate when viewed in a 
particular country, or when viewed by a particular demographic (I.E. a 
specific gender).

Is this possible? And if it is possible, how could I confirm that it was 
done correctly via the Adwords Interface.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/84fc6c94-e24c-4a6b-8ef1-ece224668a12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is there a way to bid adjust different criteria in one function?

2017-12-08 Thread kendan
is there a way to bid adjust different criteria in one function?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/61ceea8a-edd3-462b-b4a6-bada1ea899e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get a single campaign with campaign id of course?

2017-12-08 Thread kendan
Okay thank you very much!

On Friday, December 8, 2017 at 3:47:30 PM UTC+8, ken...@blvnp.com wrote:
>
> I want to retrieve a single campaign.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0dcfa474-b865-4146-84a9-8fb9a5ad1da3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to get a single campaign with campaign id of course?

2017-12-08 Thread kendan
I will try this, Ill let you know if this works later.


A follow up question, is it possible to use AWQL for deleting data?

On Friday, December 8, 2017 at 3:47:30 PM UTC+8, ken...@blvnp.com wrote:
>
> I want to retrieve a single campaign.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/feaa685f-3f71-4ec6-a868-14df2837b0af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible to get the list of histories?

2017-12-08 Thread kendan
Okay, I understand, thank you for responding really fast. 

On Friday, December 8, 2017 at 2:19:26 PM UTC+8, ken...@blvnp.com wrote:
>
> I am trying to retrieve a list of history in google adwords... and also 
> make some undo button. so, is it possible?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/bcf8fbef-304a-49bc-9de8-a76519416831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: make getLastChangeTimestamp readable

2017-12-08 Thread kendan
Can you tell me what it is?

 20171207 234008 PST8PDT


I tried date('y-m-d', $accountChanges->getLastChangeTimestamp);

it doesn't work


On Friday, December 8, 2017 at 4:09:50 PM UTC+8, ken...@blvnp.com wrote:
>
> This function:
> *echo "Most recent change: ".$accountChanges->getLastChangeTimestamp()*
>
> will displays:
> *"Most recent change: 20171207 234008 PST8PDT"*
>
>
> How do I make it readable? Like for example:
> *Most recent change: Dec 6, 2017 1:30pm*
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/81811e27-a063-4d8a-8d10-ce4a6dfeda0d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible to get the list of histories?

2017-12-08 Thread kendan
Does google api devs will not make it public or they are planning in the 
future? When do I expect? Where can I make some suggestions for devs?

Its really a good feature people can access the history with undo button.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71ccad2c-0eee-481f-bb86-6b3e02d330bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


make getLastChangeTimestamp readable

2017-12-08 Thread kendan
This function:
*echo "Most recent change: ".$accountChanges->getLastChangeTimestamp()*

will displays:
*"Most recent change: 20171207 234008 PST8PDT"*


How do I make it readable? Like for example:
*Most recent change: Dec 6, 2017 1:30pm*

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/04683526-051f-4439-b3f0-19af0be0ae89%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to get a single campaign with campaign id of course?

2017-12-07 Thread kendan
I want to retrieve a single campaign.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d47f79ec-cac4-4f02-9e39-fdb6fcf27628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it possible to get the list of histories?

2017-12-07 Thread kendan
I am trying to retrieve a list of history in google adwords... and also 
make some undo button. so, is it possible?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/12c1253c-479e-4d07-8d97-81069b7eb9b3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to remove placement url's in ad group

2017-12-07 Thread kendan
This seems not to be working


$placement = new Placement();
$placement->setUrl($url);

// $adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion = new NegativeAdGroupCriterion();
$adGroupCriterion->setAdGroupId($adGroupId);
$adGroupCriterion->setCriterion($placement);
// $adGroupCriterion->setBidModifier($bid_adjustment);

$adGroupCriterionOperation = new AdGroupCriterionOperation();
$adGroupCriterionOperation->setOperand($adGroupCriterion);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a8f88602-1871-44f3-a38a-faa99ea4b721%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how to set bid modifier to a placement in a ad group

2017-12-06 Thread kendan
I am trying to set bid modifier to a placement in a ad group

$placement = new Placement();
$placement->setUrl('wordpress.com');

$biddableAdGroupCriterion = new BiddableAdGroupCriterion();
$biddableAdGroupCriterion->setAdGroupId(47069225942);
$biddableAdGroupCriterion->setCriterion($placement);
$biddableAdGroupCriterion->setBidModifier(1.5);

// Create an ad group criterion operation and add it to the list.
$biddableAdGroupCriterionOperation = new AdGroupCriterionOperation();

$biddableAdGroupCriterionOperation->setOperand($biddableAdGroupCriterion);
$biddableAdGroupCriterionOperation->setOperator(Operator::ADD);


$operations[] = $biddableAdGroupCriterionOperation;

$result = $adGroupCriterionService->mutate($operations);

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a8d68a90-cac9-41f1-a042-758564bc1a1e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to increase bid on a placement.

2017-12-06 Thread kendan
Can you guys show a sample code of increasing and decreasing bid for 
placement? I believe when you try it it should be url right? Im not sure.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/127a58c0-7c42-4fda-9358-f0d2fbf80a76%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I run the sample code of google adwords api then I got Soap Error

2017-12-06 Thread kendan
I found the solution, someone in github helped me. Here is our conversation 
and solution:
https://github.com/googleads/googleads-php-lib/issues/276#issuecomment-349531261

For quick solution, please follow the steps:

This is for PHP 7.1, Xampp 3.2.2, Windows 10 64x/32x.

Steps:

   1. download pem file here https://curl.haxx.se//ca/cacert-2017-09-20.pem
   2. rename Rename the cacert-2017-09-20.pem file to curl-ca-bundle.crt
   3. copy - paste - replace at C:\xampp\apache\bin\
   4. open php.ini and find openssl.cafile, uncomment and provide path for 
   curl-ca-bundle.crt
   example: openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt"
   5. restart xamp

This is solve! Mine is working now. Thanks!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/91fa3396-0f34-4f80-a108-5ca6b9580717%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I run the sample code of google adwords api then I got Soap Error

2017-12-06 Thread kendan
I manage to solve the problem with the help of someone in github. Here is 
our conversation and the solution as well. Please follow the steps 
carefully.

Solution:
https://github.com/googleads/googleads-php-lib/issues/276#issuecomment-349531261

Quick solution:

This is for PHP 7.1, Xampp 3.2.2, Windows 10 64x/32x.

Steps:

   1. download pem file here https://curl.haxx.se//ca/cacert-2017-09-20.pem
   2. rename Rename the cacert-2017-09-20.pem file to curl-ca-bundle.crt
   3. copy - paste - replace at C:\xampp\apache\bin\
   4. open php.ini and find openssl.cafile, uncomment and provide path for 
   curl-ca-bundle.crt
   example: openssl.cafile="C:\xampp\apache\bin\curl-ca-bundle.crt"
   5. restart xamp

This is solve! Mine is working now. Thanks!

On Tuesday, December 5, 2017 at 7:28:48 PM UTC+8, ken...@blvnp.com wrote:
>
> I am running Xampp v3. 
> PHP 7.1
> Windows 10 64x
>
> I was only making a simple GetCampaigns. 
>
>
> This is the error.
>
> Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing 
> WSDL: Couldn't load from '
> https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl' : 
> failed to load external entity "
> https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl; 
> in 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php:75
>  
> Stack trace: #0 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php(75):
>  
> SoapClient->SoapClient('https://adwords...', Array) #1 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\AdWords\v201710\cm\CampaignService.php(146):
>  
> Google\AdsApi\Common\AdsSoapClient->__construct('https://adwords...', 
> Array) #2 [internal function]: 
> Google\AdsApi\AdWords\v201710\cm\CampaignService->__construct(Array) #3 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php(39):
>  
> ReflectionCl in 
> C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php
>  on line 75
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ff62573-ea4d-4deb-9673-ed5023674d02%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how do I get the list of placement in a adgroup?

2017-12-06 Thread kendan
I want to retrieve the list of Placement in a adgroup via the API, is it 
possible in the first place?

can anyone point me the right direction? reference, etc. Where I can start 
study in the API. There is no example given in the google adwords api 
sample.

I am using PHP, by the way. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fc247d39-44f6-44b4-8549-7af954aa97b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: is it possible for Ad Group Bid increase and decrease to a specific criteria like gender and age range?

2017-12-05 Thread kendan
This example is for mobile platforms. I tried it and work perfectly.

There is example code for adding BiddableAdGroupCriterion to an adgroup:
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201708/BasicOperations/AddAdGroupDemographicCriteria.php

Now my problem is I do not know which class is being used to set bid for 
gender.


On Monday, December 4, 2017 at 5:14:04 PM UTC+8, ken...@blvnp.com wrote:
>
> I have already implemented google adwords API. 
>
> I am using Google Adwords API PHP library.
>
> Things that are possible that I have done:
> - Get list of Campaigns
> - Get list of Ad groups in a campaign
> - Remove a Campaign
> - Remove a Ad group
> - Increase or decrease bid on campaign with platform
> - Get list of bid modifiers of campaigns and ad groups
> - exclude and include locations in a campaign
> - exclude and include gender or age range in a campaign
>
> This that I cannot find:
> - Increase or decrease bid on ad group demographic criteria such as 
> gender/age range
>
> If its possible, can you point me on the right direction? or give me a 
> simple example, it would be great help. Thanks in advance!
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/79c209d7-07d7-4a4e-916c-2ec40c230796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


I run the sample code of google adwords api then I got Soap Error

2017-12-05 Thread kendan
I am running Xampp v3. 
PHP 7.1
Windows 10 64x

I was only making a simple GetCampaigns. 


This is the error.

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 
Couldn't load from 
'https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl' : 
failed to load external entity 
"https://adwords.google.com/api/adwords/cm/v201710/CampaignService?wsdl; in 
C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php:75
 
Stack trace: #0 
C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php(75):
 
SoapClient->SoapClient('https://adwords...', Array) #1 
C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\AdWords\v201710\cm\CampaignService.php(146):
 
Google\AdsApi\Common\AdsSoapClient->__construct('https://adwords...', 
Array) #2 [internal function]: 
Google\AdsApi\AdWords\v201710\cm\CampaignService->__construct(Array) #3 
C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\Util\Reflection.php(39):
 
ReflectionCl in 
C:\xampp\htdocs\webapps\native_adwords\vendor\googleads\googleads-php-lib\src\Google\AdsApi\Common\AdsSoapClient.php
 on line 75

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/10ee09bd-c997-4926-bea2-1069b3f85432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is google adwords api change history limited?

2017-12-05 Thread kendan
I have been tracking my events in the UI. It seems that when it reaches to 
14 track events, its not tracking anymore. I don't know why.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/985e9eda-5aa8-4dda-8eae-b20514d70dc1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


is it possible for Ad Group Bid increase and decrease to a specific criteria like gender and age range?

2017-12-04 Thread kendan
I have already implemented google adwords API. 

I am using Google Adwords API PHP library.

Things that are possible that I have done:
- Get list of Campaigns
- Get list of Ad groups in a campaign
- Remove a Campaign
- Remove a Ad group
- Increase or decrease bid on campaign with platform
- Get list of bid modifiers of campaigns and ad groups
- exclude and include locations in a campaign
- exclude and include gender or age range in a campaign

This that I cannot find:
- Increase or decrease bid on ad group demographic criteria such as 
gender/age range

If its possible, can you point me on the right direction? or give me a 
simple example, it would be great help. Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5e9336d8-5cff-4f68-a72d-17eb5c12528b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: I just posted a question and it disappeared

2017-12-04 Thread kendan
YOur right, mine too

On Monday, November 27, 2017 at 6:27:34 PM UTC+8, orrb...@gmail.com wrote:
>
> I just posted a question and it disappeared, i just check what happen 
> again when you click POST and I will delete this message :)
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c173f8dc-d080-4d96-87d7-abe97c10d987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.