Hi,
if i don't specify language for all languages and location for all
countries it through an error : [NotEmptyError.EMPTY_LIST @ operations]
I think $campaignCriteria is not set when we trying to mutate. so that its
give error.so how to target campaign for all location and language
$campaignCriterionService = $user->GetService('CampaignCriterionService');
$campaignCriteria = array();
$operations = array();
foreach ($campaignCriteria as $campaignCriterion) {
$operations[] = new
\CampaignCriterionOperation($campaignCriterion, 'ADD');
}
$results = $campaignCriterionService->mutate($operations);
please help me .
thank you
On Wednesday, March 9, 2016 at 11:20:19 PM UTC+5:30, Umesh Dengale wrote:
>
> Hello,
>
> When you create a campaign and don't specify any location targeting means
> that campaign can serve everywhere(all countries and territories). If you
> need to target the specific country or area within the country then you
> could add location criteria. Please check out location targeting guide
> <https://developers.google.com/adwords/api/docs/guides/location-targeting>
> for
> more details.
>
> Regards,
> Umesh, 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/93ebdddd-894d-4ff7-a1a3-659dc4ca81bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.