Thank you so much for the answer, Vincent. 

May I know the whole Java code for this? Do you have a link for the sample? 
I kept on getting errors after replacing some lines on my code.
Sorry, I am just new in adwords api but this is not an excuse. I just want 
to know the whole code, maybe I miss something.

Thank you,
Ben

May I ask the whole

On Tuesday, October 3, 2017 at 5:39:43 PM UTC+8, Vincent Racaza (AdWords 
API Team) wrote:
>
> Hi Ben,
>
> You can refer to the below Java code on which you can convert to PHP as 
> this is just a simple code:
>
> Placement urlPlacement = new Placement();
> urlPlacement.setId(XXXXXXXXXXX);
> urlPlacement.setUrl("site.www.hello.com");
>
> BiddableAdGroupCriterion adGroupCriterion = new BiddableAdGroupCriterion
> ();
> adGroupCriterion.setAdGroupId(XXXXXXXXXXX);
> adGroupCriterion.setCriterion(urlPlacement);
> adGroupCriterion.setBidModifier(BID_MODIFIER);
>     
> AdGroupCriterionOperation operation = new AdGroupCriterionOperation();
> operation.setOperand(adGroupCriterion);
> operation.setOperator(Operator.SET);
>     
> AdGroupCriterionServiceInterface adGroupCriterionService =
> adWordsServices.get(session, AdGroupCriterionServiceInterface.class);
>     
> AdGroupCriterionReturnValue result =
>     adGroupCriterionService.mutate(new AdGroupCriterionOperation[] {
> operation});
>
> Let me know if this helps.
>
> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
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/a65428d2-fc19-4dc6-bd19-a17c3b65a1ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Where can I chec... bruce
    • Re: Where c... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
      • Re: Whe... bruce
        • Re:... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
          • ... bruce
            • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
              • ... bruce
              • ... bruce
                • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
                • ... bruce
                • ... 'Vincent Racaza (AdWords API Team)' via AdWords API Forum
                • ... bruce

Reply via email to