Hi Sany,

Could you create a new post for this question? We try to keep each post to 
*one* topic -- this makes it much easier for others with similar questions 
to find the answers they need.

Thanks,
Josh, AdWords API Team

On Friday, May 29, 2015 at 4:12:02 AM UTC-7, Sarah Riddell wrote:
>
>
> <https://lh3.googleusercontent.com/-hZeaaITAV7U/VWhI-911rNI/AAAAAAAAADM/zWCDJS26Z0s/s1600/problem2.png>
> Hi Josh,
>
> Sorry to disturb you again because i am stucked again. please help me out 
> of this.When i am trying to set Max. CPC for invidividual keyword i am 
> getting a weird situation .
>
> When i downloaded keyword report two keyword with (same id + same 
> keyword_text) are withing same adgroup  but different adnetworktype2. then 
> the problem is when i am trying to set Max CPC for individual 
> keywords with different values , i am in a fix how to select my individual 
> keywords . i have attached a png here with field names
>
> Please help me out as you help me previously. Thanks in advance.
>
> Or advice/provide some example code to update keyword Max CPC bid .
>
> KEYWORD FIND
> =============
> //Update keyword.
>             $keyword = new Keyword($value['keyword_text'], 
> $value['keyword_match_type'], $value['id']);  // here no way to specify ad 
> network type 2 like goole search or search partner
>
>
> TOTAL CODE
> ==========
> // Create ad group bid multipliers to be used in the experiment.
>             $adGroupBidMultipliers = new 
> ManualCPCAdGroupCriterionExperimentBidMultiplier();
>             $adGroupBidMultipliers->maxCpcMultiplier = new 
> BidMultiplier($value['experiment_bid_multiplier']);
>
>
>             // Create experiment data for a new experiment-only keyword.
>             $adGroupCriterionExperimentData =new 
> BiddableAdGroupCriterionExperimentData();
>             $adGroupCriterionExperimentData->experimentId = $experimentId;
>             $adGroupCriterionExperimentData->experimentDeltaStatus = 
> 'MODIFIED';
>             
> $adGroupCriterionExperimentData->experimentBidMultiplier=$adGroupBidMultipliers;
>
>             //Update keyword.
>             $keyword = new Keyword($value['keyword_text'], 
> $value['keyword_match_type'], $value['id']);
>
>             // Create ad group criterion.
>             $adGroupCriterion = new BiddableAdGroupCriterion();
>             $adGroupCriterion->adGroupId = $value['adgroup_id'];
>             $adGroupCriterion->criterion = $keyword;
>
>             $adGroupCriterion->experimentData = 
> $adGroupCriterionExperimentData;
>
>
>             // Create operation.
>             $adGroupCriterionOperation = new AdGroupCriterionOperation();
>             $adGroupCriterionOperation->operand = $adGroupCriterion;
>             $adGroupCriterionOperation->operator = 'SET';
>
>             $adGroupCriterionOperations = 
> array($adGroupCriterionOperation);
>
>             // Make the mutate request.
>             $result = 
> $adGroupCriterionService->mutate($adGroupCriterionOperations);
>
>>
>>> Thanks,
>>>
>>> Sany
>>>
>>>>
>>>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/cfa0c976-66a2-4f02-b0c8-49419cca6cb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to