Monday, 25 July 2016

Re: Adwords remarketing type (PHP)

On this moment I have problem with targeting
in php code when I add group to campaign I try to setup target.

 $targetingSetting = new TargetingSetting();
   
// Restricting to serve ads that match your ad group placements.
   
// This is equivalent to choosing "Target and bid" in the UI.
    $targetingSetting
->details[] =
       
new TargetingSettingDetail('USER_INTEREST_AND_LIST', false);
   
// Using your ad group verticals only for bidding. This is equivalent
   
// to choosing "Bid only" in the UI.
   
// $targetingSetting->details[] =
   
//     new TargetingSettingDetail('VERTICAL', true);
    $adGroup
->settings[] = $targetingSetting;


How to set Target setting on Interests & remarketing?
How to set  Interests & remarketing "category" on customer email list?
How to save customer email list as targeting ?

I try to find help in Api docs and network but everywhere is only help whose look like this:

Thank you for help :)

W dniu poniedziałek, 25 lipca 2016 11:10:16 UTC+2 użytkownik te...@jyll.tk napisał:
Hey :)
I have a problem with the code in php. I would like to create a remarketing based on email. At first I create Audiences by this code:


And next I try to modified this files: 

I think I need Campaign type : "Display Network Only"  so I change line 

    $campaign->advertisingChannelType = 'SEARCH';


to 

    $campaign->advertisingChannelType = 'DISPLAY';

 but aftrer this operation I've get error : 
An error has occurred: [OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.networkSetting.targetGoogleSearch; trigger:'DISPLAY', OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[1].operand.networkSetting.targetGoogleSearch; trigger:'DISPLAY']


Do you have any Idea to create Display 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+unsubscribe@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+unsubscribe@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/0cac66a0-9545-457e-89a3-a5c88543502a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment