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/83962963-2117-4ace-bfe8-64285a9d9f9a%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