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

2017-12-06 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, 

As described in the previous response, you will need to use the  
AdGroupCriterionService 

 and set the bidModifier 

 attribute 
as shown in the code snippet below :

$adGroupCriterionService = $adWordsServices->get($session, 
AdGroupCriterionService::class);
$operations = [];

$genderTarget = new Gender();
$genderTarget->setId(10);
$genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$genderBiddableAdGroupCriterion->setAdGroupId($adGroupId);
$genderBiddableAdGroupCriterion->setCriterion($genderTarget);
$genderBiddableAdGroupCriterion->setBidModifier(1.1);

$genderBiddableAdGroupCriterionOperation = new AdGroupCriterionOperation
();
$genderBiddableAdGroupCriterionOperation->setOperand(
$genderBiddableAdGroupCriterion);
$genderBiddableAdGroupCriterionOperation->setOperator(Operator::SET);
$operations[] = $genderBiddableAdGroupCriterionOperation;   
   
$result = $adGroupCriterionService->mutate($operations);

Let me know if you face any issues while trying this out. 

Thanks,
Sreelakshmi, 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/f75123c6-9c5a-470f-86a3-78e167ee4961%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.


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

2017-12-04 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi Kendan,

As Matt explained, to apply bid adjustments to the age/gender, you can use 
AdGroupCriterionService 

 and 
set the bidModifier 

 attribute 
with the adjustment. The guide 
 
on 
bid modifiers explains that in detail. Please give that a try and let us 
know if you face any issues.

Matt, 
Thanks a lot for pointing out the broken link. I'll inform the team to get 
that fixed. 

Thanks,
Sreelakshmi, 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/d7298499-52aa-43be-8c11-daf28c718927%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-04 Thread Matthew Wawrin
Hi,

You can use the bidModifier value in the BiddableAdGroupCriterion service, 
with the criterion being the demographic you want to target and adjust bids 
on (gender/age range).   

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

The example adds a criterion for Male.   You can extend this example by 
calling setBidModifier with the % modifier of the AdGroups bid value.   As 
an example, we're bidding +20% on Desktop (Computers) platforms. 

https://developers.google.com/adwords/api/docs/guides/bidding#display_network_criteria_dimensions

For the API support folks, from the URL above, the link to the 'bidModifer 
attribute of BiddableAdGroupCriterion' page 
(https://developers.google.com/adwords/api/docs/guides/%7B%7B%20adgroup_criterion_service%20%7D.BiddableAdGroupCriterion#bidmodifier)
 
is giving a 404.

I hope this helps.  

Matt.

On Monday, 4 December 2017 03:14:04 UTC-6, 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/47dde2f1-d9f9-4fa2-bda0-3cec97722b9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.