Re: Adwords v201402 Api Automatic Bidding Scheme Issue

2014-10-14 Thread Akshay Joy


Hi

Yeseteday When I tried to Edit One Campaign I came across one issue, just I 
changed BiddingStratergy to Automatic(Only Edit Operation, not Create), I 
can export the Campaign to Adwords without any error. But one when I 
checked the in Adwords.com, its automatically changes to manual Click. I 
know create wont support any campaign for scheme BUDGET_OPTIMIZER. But why 
its happening for Edit Campaign.


On Friday, August 22, 2014 12:04:21 PM UTC+5:30, Akshay Joy wrote:
>
> I tried to use Automatic Bidding Scheme(*BUDGET_OPTIMIZER*) in the Custom 
> application to create Campaign, when I try to create a campaign , I amg 
> getting the error unable to attach the campaign with scheme 
> *BUDGET_OPTIMIZER*. Later I checked the migration guide, they said it is 
> no longer supported, they introduced new bidding scheme *TARGET_SPEND* and 
> also that is SharedBiddingStartergy type. I am confusing whether I need to 
> choose *TARGET_SPEND* or something else.
>
> Please help me to choose which is the correct replacement for the 
> Automatic Bidding Scheme (*BUDGET_OPTIMIZER*) in Adwords v201402 Api.
>
> Inrorder to use TARGET_SPEND , I have to create SharedBiddingStartergy 
> service mutate the Service, and get the Id set to 
> campaign.biddingStartergyConfiguration.biddingStartergyId, 
>
> But What am facing is that SharedBiddingStratergy requires name before 
> invoking the call for validation and real export. how can I achieve 
> sharedbiddingStartergyService without any name mentioned in the custome 
> code.
>
> If I use some random name in the SharedBiddingStratergy name, name shows 
> in the Adwords.google.com looks weird. Please suggest a workaround for 
> this.
>
> sharedBiddingStrategy.name = "Maximize Clicks " + objCampaign.Name;
>
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/07547619-d946-4d2d-94f6-c8d6ab769826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to remove AdGroup Bidding Strategy Configuration override?

2014-10-14 Thread Joel
I modified a bunch of AdGroups to use a shared Enhanced CPC bidding 
strategy and overrode the campaign's manual cpc strategy. Now I'm trying to 
undo this. When I make a call like:

biddingStrategyConfiguration.setBiddingStrategyType(BiddingStrategyType.MANUAL_CPC);

with an AdGroup Operation.SET I get the following error: 
AD_GROUP_BIDDING_STRATEGY_OVERRIDES_PER_CAMPAIGN 
EntityCountLimitExceeded.CAMPAIGN_LIMIT 
1000.

So it seems like this code is ALSO overriding the Campaign's bidding 
strategy. But what I want to do is remove the override. I tried making an 
Operator.REMOVE call but that gave another error. How do I remove the 
override?

Thanks!

Joel

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d2471f57-6973-4181-b8a2-e00513783ca3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adding ipAddress Exclusions in Bulk

2014-10-14 Thread Jake Ellark
I need to add 20 ipAddresses to a campaign IpBlock using Google Adwords 
API. I need to conserve my API calls and potentially improve speed, so is 
it possible to NegativeCampaignCriterion using an ipAddressArray instead of 
one ipAddress at a time. Appreciate pointers if it is possible to add an 
array of ipAddresses for exclusion. 

My current snippet:
foreach ($ipAddressExclusionsAddArray as $ipAddress) {
$IpBlock = new IpBlock();
$IpBlock->ipAddress = $ipAddress;
$IpBlock->type = 'IP_BLOCK';
$campaignCriteria = new NegativeCampaignCriterion($campaignID, null, 
$IpBlock);
$addOperations[] = new CampaignCriterionOperation($campaignCriteria, 
'ADD');
} // each ip address

My attempt to use "new NegativeCampaignCriterion($campaignID, 
null, $ipAddressExclusionsAddArray);" without the foreach loop, resulted in 
api error. 

Similarly, is it possible to remove an array of ipAddress exclusions. 

Appreciate your time!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4fe3f0fe-9555-436d-ae88-9f67726324bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CriterionError.CANNOT_ADD_CRITERIA_TYPE - When trying to add negative keywords to campaign

2014-10-14 Thread Michael Cloonan (AdWords API Team)
Hello,

Looking at your code snippet, it appears that you're adding a 
CampaignCriterion rather than a NegativeCampaignCriterion 
.
 
Keyword criteria are not supported at the campaign level except in 
NegativeCampaignCriterion. Try making a NegativeCampaignCriterion instead 
and see if that helps resolve the issue.

Regards,
Mike, AdWords API Team

On Tuesday, October 14, 2014 10:34:45 AM UTC-4, Jonathan wrote:
>
> Hey everybody
>
> When trying to add negative keywords to campaign i get this error:
>
> ===
> http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="CriterionError">
> 
> operations[0].operand.criterion
> 
> 
> CriterionError.CANNOT_ADD_CRITERIA_TYPE
> CriterionError
> CANNOT_ADD_CRITERIA_TYPE
> 
> ===
>
> It used to work fine.
> This is how i add it: in java,
>
> Keyword keyword = new Keyword();
> keyword.setText("some text");
> keyword.setMatchType(KeywordMatchType.PHRASE);
>
> //add the criterion as operation
> CampaignCriterionOperation operation = new 
> CampaignCriterionOperation();
> CampaignCriterion campaignCriterion = new CampaignCriterion();
> campaignCriterion.setCampaignId("some campaign id");
> campaignCriterion.setCriterion(keyword);
> 
> operation.setOperand(campaignCriterion);
> operation.setOperator(Operator.ADD);
>
> and then using the campaignCriterionService.mutate
>
> i dont understand why it isnt letting this operation go thru, how come 
> CANNOT_ADD_CRITERIA_TYPE is the error? 
> as i mentiond - this used to work for me before...
>
> Thanks alot for any help!
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0b3bf27d-99f9-493b-82e7-cf6450fa8ed0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OPERATION_NOT_PERMITTED_FOR_REMOVED_ENTITY Bug?

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi David,

The team got back to me telling that this change is not feasible, so you 
need to rename and then delete if you need to maintain unique name.

Cheers,
Anash

On Friday, October 10, 2014 6:23:34 AM UTC-4, David Midgley wrote:
>
> Hi Anash/API Team
>
> Now that v201409 is released the countdown has started on the sunsetting 
> of v201402 which basically means we need a workaround to this problem soon 
> as v201402 is the only live version that allows the renaming of deleted 
> adgroups!
>
> Anash, you mentioned:
>
> "
> I've asked the team to investigate whether it is feasible to allow deleted 
> adgroups and campaigns to be renamed. I'll update the thread as I hear from 
> them
> "
>
> Have you heard from the team?
>
> Cheers
>
> David
>
> On Thursday, 18 September 2014 14:51:46 UTC+1, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi Mariusz,
>>
>> I've asked the team to investigate whether it is feasible to allow 
>> deleted adgroups and campaigns to be renamed. I'll update the thread as I 
>> hear from them,
>>
>> Cheers,
>> Anash
>>
>> On Thursday, September 18, 2014 5:43:41 AM UTC-4, Mariusz wrote:
>>>
>>> One more thing to bear in mind is that you probably should version 
>>> deleted adgroups. Imagine:
>>>
>>>- user creates adgroup “test” 
>>>- then deletes it, so the system first renames it to “test_del” and 
>>>then marks as deleted 
>>>- user creates again adgroup named “test” 
>>>- user tries to delete it 
>>>
>>> The system will fail in step 4, because it will try to rename adgroup to 
>>> “test_del”, but that name already exists. So what you may do in that case 
>>> is to detect the error, and try to rename it to “test_del1”.
>>>
>>> Cheers,
>>>
>>> Mariusz
>>>
>>> On Thursday, 18 September 2014 08:24:33 UTC+1, Oliver wrote:
>>>
>>> Just thinking loud here, if the adgroups are deleted via your software, 
 what if you rename the adgroup *before *you delete it?  We used to use 
 a similar approach where we appended the text "_del" to all adgroup names 
 that are about to be deleted.

 Obviously, if the adgroup is deleted via the adwords interface rather 
 than your software, then the above won't help.

 Oliver


 On Wednesday, September 17, 2014 2:33:22 PM UTC+1, David Midgley wrote:
>
> Hi Anash/API Team
>
> I responded to your question. Is there anything else you need to know?
>
> It would be great to get an answer on this please!
>
> Cheers
>
> David
>
> On Monday, 15 September 2014 16:04:31 UTC+1, Anash P. Oommen (AdWords 
> API Team) wrote:
>>
>> Hi David,
>>
>> If I remember correctly, the name needs to be unique in only active + 
>> paused items, not globally (with the new change). So if the user deletes 
>> an 
>> adgroup with the same name, you could create one with the same name 
>> again. 
>> Let me know if you are seeing a different behaviour, and I'll ask the 
>> team 
>> to investigate this further.
>>
>> Cheers,
>> Anash P. Oommen,
>> AdWords API Advisor.
>>
>> On Monday, September 8, 2014 2:29:07 PM UTC-4, David Midgley wrote:
>>>
>>> Thanks for the quick response Anash!
>>>
>>> Let me explain my use case and maybe you can find a workaround?
>>>
>>> We are working on an optimisation application that uses a strict 
>>> naming convention for campaign and adgroup names. If a user 
>>> accidentally 
>>> deletes an adgroup, my software can't correct the error by recreating 
>>> the 
>>> adgroup because if we create a new adgroup with the same name in the 
>>> same 
>>> campaign we'll get a duplicate adgroup name error. Our solution to this 
>>> problem was to rename the deleted adgroup which enabled us to create 
>>> the 
>>> new adgroup.
>>>
>>> Now that we can't rename the deleted adgroup and we can't create a 
>>> new adgroup with the same name, how can we enforce our strict naming 
>>> convention? This naming convention links adgroups between campaigns and 
>>> is 
>>> critical to our operations.
>>>
>>> We could "version" adgroup names, but this seems pretty untidy. We 
>>> could use labels, but this could create thousands of labels and more 
>>> (potentially error-prone) manual work.
>>>
>>> Can you think of a workaround?
>>>
>>> Cheers
>>>
>>> David
>>>
>>> On Monday, 8 September 2014 19:15:49 UTC+1, Anash P. Oommen (AdWords 
>>> API Team) wrote:

 Hi David,

 AdWords API v201406 no longer allows you to undelete campaigns, 
 adgroups, etc. The UI and older API versions allows this behaviour for 
 now, 
 but they will eventually start working like the way v201406 works 
 today.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Monday

Upgraded Location extension visibility

2014-10-14 Thread GDZ


Example: we created 2 upgraded feed-based account-level location 
extensions. My account has 2 campaigns. So via API we assigned extension 1 
to campaign 1, extension 2 to campaign 2. Campaigns are active and running.

 

But... say a bit later we discovered that extension 2 was not approved (say 
address was all wrong or whatever). What is going to happen to campaign 2? 
Will it show extension 1 (because it is account-wide)? No extension at all? 


Thank you!

GDZ

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7f46af16-5db2-4c7c-b49b-98746fdb789d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgraded location extensions

2014-10-14 Thread GDZ
Got it. Thank you!

On Tuesday, October 14, 2014 3:10:58 PM UTC-4, Josh Radcliff (AdWords API 
Team) wrote:
>
> Hi GDZ,
>
> To prevent location extensions from showing on a campaign, you'll want to 
> create a CampaignFeed 
> 
>  with 
> a *matchingFunction* that always evaluates to false. This will look a lot 
> like the *CustomerFeed* matching function in the code example 
> ,
>  
> only on the *ConstantOperand* you should set a booleanValue 
> 
>  
> of *false* instead of *true*.
>
> Cheers,
> Josh, AdWords API Team
>
> On Tuesday, October 14, 2014 1:23:39 PM UTC-4, GDZ wrote:
>>
>> OK, so it all started to make sense. We're able to create account level 
>> extensions and assign to particular campaigns. What is not very clear, how 
>> do you "prohibit" some campaign from showing account-level location 
>> extension (using API of course).
>>
>> Thank you,
>> GDZ
>>
>> On Friday, October 10, 2014 10:55:06 AM UTC-4, Danial Klimkin wrote:
>>>
>>> Hello GDZ,
>>>
>>>
>>> Please see this guide for more details:
>>>
>>>   
>>> https://developers.google.com/adwords/api/docs/guides/feed-services-locations
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Friday, October 10, 2014 10:33:24 AM UTC-4, GDZ wrote:

 OK, so I created a location feed, then used CustomerFeedService to add 
 a location. Now in UI at the account level under "Upgraded" location 
 extensions I see the name of my feed and it states "(1 location)".  At the 
 campaign level I can select this location and use as location extension 
 for 
 this particular campaign. 

 All this I can do in UI.  Now question is how can I assign this 
 account-level address to the campaign via API?

 Thank you,
 GDZ

 On Thursday, October 9, 2014 4:24:55 PM UTC-4, Danial Klimkin wrote:
>
> Hello GDZ,
>
>
> GMB doesn't provide an API at the moment unfortunately. The best 
> approach I can currently suggest is the bulk location management:
>
>   https://support.google.com/business/answer/3217744
>
> We'll be improving options on linking GMB accounts in the future.
>
>
> -Danial, AdWords API Team.
>
>
> On Wednesday, October 8, 2014 10:31:48 AM UTC-4, GDZ wrote:
>>
>> Thank you Danial.
>>
>> Question is will we be able to create feed-based location extensions 
>> without My Business accounts? If not, will there be a way to create My 
>> Business accounts via API?
>>
>> Thank you,
>> GDZ
>>
>> On Tuesday, October 7, 2014 5:32:22 PM UTC-4, Danial Klimkin wrote:
>>>
>>> Hello GDZ,
>>>
>>>
>>> All extensions will be migrated to Feed-service base over time. You 
>>> can request users to create these accounts or you can manage them on 
>>> users' 
>>> behalf.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Monday, October 6, 2014 4:03:41 PM UTC-4, GDZ wrote:

 As we know, the ability to create manually added and 
 campaign-level (“not upgraded”) location extensions will soon be 
 removed. 
 Only option will be to create these extensions using Google My 
 Business 
 acct. 

 Question is, does this also apply to API-created LE? What if our 
 clients don't have My Business accounts or reluctant/lazy to do so? 
 Are we 
 going to lose the ability to create location extensions on the 
 campaign 
 level at all? 

 Thank you,
 GDZ 

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/da0239d8-d894-4096-bcec-79655ff01bc4%40google

Re: Google requests destination urls after pausing of campaign

2014-10-14 Thread Michael Cloonan (AdWords API Team)
Hello Sergey,

It is normal for Google to crawl the destination URLs of your ads. This 
helps to ensure that ads lead to useful landing pages and is part of 
determining the quality score 

 
for your ad and its criteria. If you want to prevent this, you will need to 
actually delete the offending criteria and ads.

Regards,
Mike, AdWords API Team

On Saturday, October 11, 2014 8:59:03 AM UTC-4, Sergey Bienko wrote:
>
> Hi,
> I'm not sure if it's a proper place to ask, but I can't find any other 
> place to ask this, maybe somebody knows:
>
> I've paused a campaign because of some broken destination urls within its 
> ads, but after that Google started to request some of the destination urls 
> from IPs 66.249.89.32,66.249.91.40 (which are owned by Google as I can 
> see) even though the campaign is paused and there is no other traffic. So 
> for 2 days already Google hits broken urls on our website. Do you know why 
> can it be? Does Google usually request urls from ads? Does it do it on 
> inactive caecmpaigs, adgroups, ads?
>
> Thanks in advance,
> Sergey
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/81257ed0-f635-4c66-a6ea-1cb8f06725ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgraded location extensions

2014-10-14 Thread Josh Radcliff (AdWords API Team)
Hi GDZ,

To prevent location extensions from showing on a campaign, you'll want to 
create a CampaignFeed 

 with 
a *matchingFunction* that always evaluates to false. This will look a lot 
like the *CustomerFeed* matching function in the code example 
,
 
only on the *ConstantOperand* you should set a booleanValue 

 
of *false* instead of *true*.

Cheers,
Josh, AdWords API Team

On Tuesday, October 14, 2014 1:23:39 PM UTC-4, GDZ wrote:
>
> OK, so it all started to make sense. We're able to create account level 
> extensions and assign to particular campaigns. What is not very clear, how 
> do you "prohibit" some campaign from showing account-level location 
> extension (using API of course).
>
> Thank you,
> GDZ
>
> On Friday, October 10, 2014 10:55:06 AM UTC-4, Danial Klimkin wrote:
>>
>> Hello GDZ,
>>
>>
>> Please see this guide for more details:
>>
>>   
>> https://developers.google.com/adwords/api/docs/guides/feed-services-locations
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Friday, October 10, 2014 10:33:24 AM UTC-4, GDZ wrote:
>>>
>>> OK, so I created a location feed, then used CustomerFeedService to add a 
>>> location. Now in UI at the account level under "Upgraded" location 
>>> extensions I see the name of my feed and it states "(1 location)".  At the 
>>> campaign level I can select this location and use as location extension for 
>>> this particular campaign. 
>>>
>>> All this I can do in UI.  Now question is how can I assign this 
>>> account-level address to the campaign via API?
>>>
>>> Thank you,
>>> GDZ
>>>
>>> On Thursday, October 9, 2014 4:24:55 PM UTC-4, Danial Klimkin wrote:

 Hello GDZ,


 GMB doesn't provide an API at the moment unfortunately. The best 
 approach I can currently suggest is the bulk location management:

   https://support.google.com/business/answer/3217744

 We'll be improving options on linking GMB accounts in the future.


 -Danial, AdWords API Team.


 On Wednesday, October 8, 2014 10:31:48 AM UTC-4, GDZ wrote:
>
> Thank you Danial.
>
> Question is will we be able to create feed-based location extensions 
> without My Business accounts? If not, will there be a way to create My 
> Business accounts via API?
>
> Thank you,
> GDZ
>
> On Tuesday, October 7, 2014 5:32:22 PM UTC-4, Danial Klimkin wrote:
>>
>> Hello GDZ,
>>
>>
>> All extensions will be migrated to Feed-service base over time. You 
>> can request users to create these accounts or you can manage them on 
>> users' 
>> behalf.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Monday, October 6, 2014 4:03:41 PM UTC-4, GDZ wrote:
>>>
>>> As we know, the ability to create manually added and campaign-level 
>>> (“not upgraded”) location extensions will soon be removed. Only option 
>>> will 
>>> be to create these extensions using Google My Business acct. 
>>>
>>> Question is, does this also apply to API-created LE? What if our 
>>> clients don't have My Business accounts or reluctant/lazy to do so? Are 
>>> we 
>>> going to lose the ability to create location extensions on the campaign 
>>> level at all? 
>>>
>>> Thank you,
>>> GDZ 
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/61f441a7-309a-4b69-8297-e7bf3aecd348%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I implement the Available network inventory feature in Display Planner by adwords api?

2014-10-14 Thread Michael Cloonan (AdWords API Team)
Hello,

There is currently no API analog for the Display Planner. I will suggest 
this idea to the team.

Regards,
Mike, AdWords API Team

On Sunday, October 12, 2014 9:53:33 PM UTC-4, Liu Wei wrote:
>
> I want to implement the effect of Available network inventory in Display 
> Planner(Only for the percentage of  Gender and Age ranges). But I can't 
> found relate function at adwords api. I want to know how to implement it?
> Also Pls see the attach for details.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b1ab8ff8-0792-48bb-8ba8-f5ac36688a6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


CriterionError.CANNOT_ADD_CRITERIA_TYPE - When trying to add negative keywords to campaign

2014-10-14 Thread Jonathan
Hey everybody

When trying to add negative keywords to campaign i get this error:

===
http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionError">

operations[0].operand.criterion


CriterionError.CANNOT_ADD_CRITERIA_TYPE
CriterionError
CANNOT_ADD_CRITERIA_TYPE

===

It used to work fine.
This is how i add it: in java,

Keyword keyword = new Keyword();
keyword.setText("some text");
keyword.setMatchType(KeywordMatchType.PHRASE);

//add the criterion as operation
CampaignCriterionOperation operation = new 
CampaignCriterionOperation();
CampaignCriterion campaignCriterion = new CampaignCriterion();
campaignCriterion.setCampaignId("some campaign id");
campaignCriterion.setCriterion(keyword);

operation.setOperand(campaignCriterion);
operation.setOperator(Operator.ADD);
   
and then using the campaignCriterionService.mutate

i dont understand why it isnt letting this operation go thru, how come 
CANNOT_ADD_CRITERIA_TYPE is the error? 
as i mentiond - this used to work for me before...

Thanks alot for any help!


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/5c8d3fe4-5d89-4af1-bf2a-81d8c563c026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problem with bulk operations

2014-10-14 Thread Maxime Menigoz
Hi,

I need to update the bid of 500 Ads in AdGroups more than 10 000 times in a 
day. That's why I try to pack all operations in one to avoid the over query 
limit but I think I don't understand something.

I followed examples to have this code :

myfunction($user, $adGroupIds, $value)
{
  $mutateJobService = $user->GetService('MutateJobService', "v201406");
  $operations = array();
  foreach ($adGroupIds as $adGroupId)
{
$adGroup = new AdGroup();
$adGroup->id = $adGroupId;

$bid = new CpcBid();
$bid->bid =  new Money($value);
$biddingStrategyConfiguration = new BiddingStrategyConfiguration();
$biddingStrategyConfiguration->bids[] = $bid;
$adGroup->biddingStrategyConfiguration = $biddingStrategyConfiguration;

$operation = new AdGroupOperation();
$operation->operand = $adGroup;
$operation->operator = 'SET';
$operations[] = $operation;
}

  $policy = new BulkMutateJobPolicy();
  $policy->prerequisiteJobIds = array();

  $job = $mutateJobService->mutate($operations, $policy);

  $selector = new BulkMutateJobSelector();
  $selector->jobIds[] = $job->id;

  while ($job->status != "COMPLETED")
{
$jobs = $mutateJobService->get($selector);
$job = $jobs[0];
}

  if ($job->status == "COMPLETED")
{
echo "job completed";
}
}

With this code, I still have "[RateExceededError ]" after 
10 000 updates.
Could someone explain me what I do wrong ?

Thanks,
Maxime

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6105deec-af5c-43a5-b18a-177cc664eadb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get snippet for ExpressionRuleUserList?

2014-10-14 Thread Michael Cloonan (AdWords API Team)
Hello Kevin,

There is some ability to customize snippets for rules-based remarketing. 
You should be able to get a basic snippet by following the instructions in 
the general Remarketing guide 
.
 
>From there, if you want to add custom parameters to use in your rules, you 
will need to modify the JavaScript snippet. Information on how to do that 
can be found on our support site 
. Please make sure you 
consider using some of the predefined parameters if they fit your use case.

Regards,
Mike, AdWords API Team

On Tuesday, October 14, 2014 2:22:32 PM UTC-4, Kevin wrote:
>
> Hi,
>
> We're interested in using ExpressionRuleUserList, but for the user list to 
> get populated, we need to add a tag snippet in the advertiser's landing 
> page.
>
> We can get the snippet via the AdWords UI in the Shared Library section, 
> but is there a way to get it via AdWords API?
>
> Thanks,
> Kevin
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/17b05052-31a2-449d-b5a3-cb7c6aa23131%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get snippet for ExpressionRuleUserList?

2014-10-14 Thread Kevin
Hi,

We're interested in using ExpressionRuleUserList, but for the user list to 
get populated, we need to add a tag snippet in the advertiser's landing 
page.

We can get the snippet via the AdWords UI in the Shared Library section, 
but is there a way to get it via AdWords API?

Thanks,
Kevin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/62c6f174-bf0e-4d1a-8b13-d0cc0f993811%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Upgraded location extensions

2014-10-14 Thread GDZ
OK, so it all started to make sense. We're able to create account level 
extensions and assign to particular campaigns. What is not very clear, how 
do you "prohibit" some campaign from showing account-level location 
extension (using API of course).

Thank you,
GDZ

On Friday, October 10, 2014 10:55:06 AM UTC-4, Danial Klimkin wrote:
>
> Hello GDZ,
>
>
> Please see this guide for more details:
>
>   
> https://developers.google.com/adwords/api/docs/guides/feed-services-locations
>
>
> -Danial, AdWords API Team.
>
>
> On Friday, October 10, 2014 10:33:24 AM UTC-4, GDZ wrote:
>>
>> OK, so I created a location feed, then used CustomerFeedService to add a 
>> location. Now in UI at the account level under "Upgraded" location 
>> extensions I see the name of my feed and it states "(1 location)".  At the 
>> campaign level I can select this location and use as location extension for 
>> this particular campaign. 
>>
>> All this I can do in UI.  Now question is how can I assign this 
>> account-level address to the campaign via API?
>>
>> Thank you,
>> GDZ
>>
>> On Thursday, October 9, 2014 4:24:55 PM UTC-4, Danial Klimkin wrote:
>>>
>>> Hello GDZ,
>>>
>>>
>>> GMB doesn't provide an API at the moment unfortunately. The best 
>>> approach I can currently suggest is the bulk location management:
>>>
>>>   https://support.google.com/business/answer/3217744
>>>
>>> We'll be improving options on linking GMB accounts in the future.
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Wednesday, October 8, 2014 10:31:48 AM UTC-4, GDZ wrote:

 Thank you Danial.

 Question is will we be able to create feed-based location extensions 
 without My Business accounts? If not, will there be a way to create My 
 Business accounts via API?

 Thank you,
 GDZ

 On Tuesday, October 7, 2014 5:32:22 PM UTC-4, Danial Klimkin wrote:
>
> Hello GDZ,
>
>
> All extensions will be migrated to Feed-service base over time. You 
> can request users to create these accounts or you can manage them on 
> users' 
> behalf.
>
>
> -Danial, AdWords API Team.
>
>
> On Monday, October 6, 2014 4:03:41 PM UTC-4, GDZ wrote:
>>
>> As we know, the ability to create manually added and campaign-level 
>> (“not upgraded”) location extensions will soon be removed. Only option 
>> will 
>> be to create these extensions using Google My Business acct. 
>>
>> Question is, does this also apply to API-created LE? What if our 
>> clients don't have My Business accounts or reluctant/lazy to do so? Are 
>> we 
>> going to lose the ability to create location extensions on the campaign 
>> level at all? 
>>
>> Thank you,
>> GDZ 
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/06c31be7-e8c3-4e95-af90-b4845438003f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MutateJobService not completing

2014-10-14 Thread Alan Coleman
Hello everyone,

I'm having trouble getting MutateJobService jobs to complete dealing with 
several jobs, each with 3000 operations.

Could someone from the API Team take a look at the job id in the last entry 
into my soap log:


http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201406";>
  00050562169746e00abf2c0185001550
  MutateJobService
  get
  0
  57

  
  
https://adwords.google.com/api/adwords/cm/v201406";>
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="SimpleMutateJob">

  83
  16000
  0
  JobStats

SimpleMutateJob
-2421700349035827639
PROCESSING

  20141014 143458 Europe/London
  JobEvent


  20141014 143515 Europe/London
  JobEvent

  

  


Many thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/afba3312-6b17-45e3-ada4-c94cd629e92f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman
Thanks Oliver,

So what Josh is pointing out here 
 is 
that the Budget Optimizer fields were read only from v201402

Thanks again Oliver.

On Tuesday, October 14, 2014 2:41:09 PM UTC+1, Oliver wrote:
>
> Please check this post:
>
> https://groups.google.com/forum/#!topic/adwords-api/pRY0N6yQzvE
>
>
>
> On Tuesday, October 14, 2014 2:39:17 PM UTC+1, Alan Coleman wrote:
>>
>> Thanks for commenting Oliver,
>>
>> BUDGET_OPTIMIZER is in the API Documentation 
>> 
>>  
>>
>> I'm just trying to replicate a campaign as closely as possible.
>>
>> Thanks again.
>>
>> On Tuesday, October 14, 2014 2:20:12 PM UTC+1, Oliver wrote:
>>>
>>> I thought Budget Optimizer strategies were deprecated a long time ago?
>>>
>>> Oliver
>>>
>>>
>>> On Tuesday, October 14, 2014 11:32:24 AM UTC+1, Alan Coleman wrote:


 Hello everyone,

 I have a campaign that I'd like to duplicate with the following 
 BiddingStrategyConfiguration object


 *object*(*BiddingStrategyConfiguration*)[*52*]
   *public* 'biddingStrategyId' => null
   *public* 'biddingStrategyName' => null
   *public* 'biddingStrategyType' => string 'BUDGET_OPTIMIZER' 
 *(length=16)*
   *public* 'biddingStrategySource' => null
   *public* 'biddingScheme' => 
 *object*(*BudgetOptimizerBiddingScheme*)[*53*]
   *public* 'bidCeiling' => 
 *object*(*Money*)[*55*]
   ...
   *public* 'enhancedCpcEnabled' => boolean false
   *public* 'BiddingSchemeType' => string 
 'BudgetOptimizerBiddingScheme' *(length=28)*
   *private* '_parameterMap' (BiddingScheme) => 
 *array* *(size=1)*
   ...
   *public* 'bids' => null



 I'm using the following to create the biddingStrategyConfiguration


 $biddingStrategyConfiguration->biddingStrategyType = 'BUDGET_OPTIMIZER'
 ;
 $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration
 ;


 Which is producing the following bidding error


 *object*(*BiddingErrors*)[*36*]
   *public* 'reason' => string 
 'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=42)*
   *public* 'fieldPath' => string 
 'operations[0].operand.biddingStrategyConfiguration.biddingStrategyType' 
 *(length=70)*
   *public* 'trigger' => string 'BUDGET_OPTIMIZER' *(length=16)*
   *public* 'errorString' => string 
 'BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=56)*
   *public* 'ApiErrorType' => string 'BiddingErrors' *(length=13)*


 Here is the SOAP error


 
   soap:Server
   [SelectorError.MISSING_PREDICATE_VALUES @ 
 serviceSelector]
   
 >>> xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
   [SelectorError.MISSING_PREDICATE_VALUES @ 
 serviceSelector]
   
 ApiException
   http://www.w3.org/2001/XMLSchema-instance"; 
 xsi:type="SelectorError">
 serviceSelector
 
 
 SelectorError.MISSING_PREDICATE_VALUES
 SelectorError
 MISSING_PREDICATE_VALUES
   
 
   
 

 Since providing a bidding scheme is optional I'm at a loss to know what 
 this is.


 I have read the following documentation:


 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Campaign

 https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.BiddingStrategyConfiguration


 Has anyone had experience here they could share?


 Many thanks



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d691bf3c-a345-4df1-

Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Oliver
Please check this post:

https://groups.google.com/forum/#!topic/adwords-api/pRY0N6yQzvE



On Tuesday, October 14, 2014 2:39:17 PM UTC+1, Alan Coleman wrote:
>
> Thanks for commenting Oliver,
>
> BUDGET_OPTIMIZER is in the API Documentation 
> 
>  
>
> I'm just trying to replicate a campaign as closely as possible.
>
> Thanks again.
>
> On Tuesday, October 14, 2014 2:20:12 PM UTC+1, Oliver wrote:
>>
>> I thought Budget Optimizer strategies were deprecated a long time ago?
>>
>> Oliver
>>
>>
>> On Tuesday, October 14, 2014 11:32:24 AM UTC+1, Alan Coleman wrote:
>>>
>>>
>>> Hello everyone,
>>>
>>> I have a campaign that I'd like to duplicate with the following 
>>> BiddingStrategyConfiguration object
>>>
>>>
>>> *object*(*BiddingStrategyConfiguration*)[*52*]
>>>   *public* 'biddingStrategyId' => null
>>>   *public* 'biddingStrategyName' => null
>>>   *public* 'biddingStrategyType' => string 'BUDGET_OPTIMIZER' 
>>> *(length=16)*
>>>   *public* 'biddingStrategySource' => null
>>>   *public* 'biddingScheme' => 
>>> *object*(*BudgetOptimizerBiddingScheme*)[*53*]
>>>   *public* 'bidCeiling' => 
>>> *object*(*Money*)[*55*]
>>>   ...
>>>   *public* 'enhancedCpcEnabled' => boolean false
>>>   *public* 'BiddingSchemeType' => string 
>>> 'BudgetOptimizerBiddingScheme' *(length=28)*
>>>   *private* '_parameterMap' (BiddingScheme) => 
>>> *array* *(size=1)*
>>>   ...
>>>   *public* 'bids' => null
>>>
>>>
>>>
>>> I'm using the following to create the biddingStrategyConfiguration
>>>
>>>
>>> $biddingStrategyConfiguration->biddingStrategyType = 'BUDGET_OPTIMIZER';
>>> $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration;
>>>
>>>
>>> Which is producing the following bidding error
>>>
>>>
>>> *object*(*BiddingErrors*)[*36*]
>>>   *public* 'reason' => string 
>>> 'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=42)*
>>>   *public* 'fieldPath' => string 
>>> 'operations[0].operand.biddingStrategyConfiguration.biddingStrategyType' 
>>> *(length=70)*
>>>   *public* 'trigger' => string 'BUDGET_OPTIMIZER' *(length=16)*
>>>   *public* 'errorString' => string 
>>> 'BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=56)*
>>>   *public* 'ApiErrorType' => string 'BiddingErrors' *(length=13)*
>>>
>>>
>>> Here is the SOAP error
>>>
>>>
>>> 
>>>   soap:Server
>>>   [SelectorError.MISSING_PREDICATE_VALUES @ 
>>> serviceSelector]
>>>   
>>> >> xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
>>>   [SelectorError.MISSING_PREDICATE_VALUES @ 
>>> serviceSelector]
>>>   
>>> ApiException
>>>   http://www.w3.org/2001/XMLSchema-instance"; 
>>> xsi:type="SelectorError">
>>> serviceSelector
>>> 
>>> 
>>> SelectorError.MISSING_PREDICATE_VALUES
>>> SelectorError
>>> MISSING_PREDICATE_VALUES
>>>   
>>> 
>>>   
>>> 
>>>
>>> Since providing a bidding scheme is optional I'm at a loss to know what 
>>> this is.
>>>
>>>
>>> I have read the following documentation:
>>>
>>>
>>> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Campaign
>>>
>>> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.BiddingStrategyConfiguration
>>>
>>>
>>> Has anyone had experience here they could share?
>>>
>>>
>>> Many thanks
>>>
>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/18f57022-800b-49e2-bc9f-ad709763df19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman
Thanks for commenting Oliver,

BUDGET_OPTIMIZER is in the API Documentation 

 

I'm just trying to replicate a campaign as closely as possible.

Thanks again.

On Tuesday, October 14, 2014 2:20:12 PM UTC+1, Oliver wrote:
>
> I thought Budget Optimizer strategies were deprecated a long time ago?
>
> Oliver
>
>
> On Tuesday, October 14, 2014 11:32:24 AM UTC+1, Alan Coleman wrote:
>>
>>
>> Hello everyone,
>>
>> I have a campaign that I'd like to duplicate with the following 
>> BiddingStrategyConfiguration object
>>
>>
>> *object*(*BiddingStrategyConfiguration*)[*52*]
>>   *public* 'biddingStrategyId' => null
>>   *public* 'biddingStrategyName' => null
>>   *public* 'biddingStrategyType' => string 'BUDGET_OPTIMIZER' 
>> *(length=16)*
>>   *public* 'biddingStrategySource' => null
>>   *public* 'biddingScheme' => 
>> *object*(*BudgetOptimizerBiddingScheme*)[*53*]
>>   *public* 'bidCeiling' => 
>> *object*(*Money*)[*55*]
>>   ...
>>   *public* 'enhancedCpcEnabled' => boolean false
>>   *public* 'BiddingSchemeType' => string 
>> 'BudgetOptimizerBiddingScheme' *(length=28)*
>>   *private* '_parameterMap' (BiddingScheme) => 
>> *array* *(size=1)*
>>   ...
>>   *public* 'bids' => null
>>
>>
>>
>> I'm using the following to create the biddingStrategyConfiguration
>>
>>
>> $biddingStrategyConfiguration->biddingStrategyType = 'BUDGET_OPTIMIZER';
>> $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration;
>>
>>
>> Which is producing the following bidding error
>>
>>
>> *object*(*BiddingErrors*)[*36*]
>>   *public* 'reason' => string 
>> 'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=42)*
>>   *public* 'fieldPath' => string 
>> 'operations[0].operand.biddingStrategyConfiguration.biddingStrategyType' 
>> *(length=70)*
>>   *public* 'trigger' => string 'BUDGET_OPTIMIZER' *(length=16)*
>>   *public* 'errorString' => string 
>> 'BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=56)*
>>   *public* 'ApiErrorType' => string 'BiddingErrors' *(length=13)*
>>
>>
>> Here is the SOAP error
>>
>>
>> 
>>   soap:Server
>>   [SelectorError.MISSING_PREDICATE_VALUES @ 
>> serviceSelector]
>>   
>> > xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
>>   [SelectorError.MISSING_PREDICATE_VALUES @ 
>> serviceSelector]
>>   ApiException
>>   http://www.w3.org/2001/XMLSchema-instance"; 
>> xsi:type="SelectorError">
>> serviceSelector
>> 
>> SelectorError.MISSING_PREDICATE_VALUES
>> SelectorError
>> MISSING_PREDICATE_VALUES
>>   
>> 
>>   
>> 
>>
>> Since providing a bidding scheme is optional I'm at a loss to know what this 
>> is.
>>
>>
>> I have read the following documentation:
>>
>>
>> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Campaign
>>
>> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.BiddingStrategyConfiguration
>>
>>
>> Has anyone had experience here they could share?
>>
>>
>> Many thanks
>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c1a8fdf6-b11c-4cea-b698-febff2bd9a86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Video Ads - How to pull metrics from Adwords API.

2014-10-14 Thread Michael Cloonan (AdWords API Team)
Hello Kevin,

Video ads are still not supported in v201409. I'm not able to comment about 
our plans for future releases.

Regards,
Mike, AdWords API Team

On Monday, October 13, 2014 2:45:53 PM UTC-4, Kevin Moritz wrote:
>
> in v201409, I still don't see anything related to video campaign stats...
>
> Does it still not exist?  If so, are there plans to incorporate this into 
> the API in the future?
>
> Kevin
>
>
>
> On Friday, July 18, 2014 5:57:14 AM UTC-5, Danial Klimkin wrote:
>>
>> Hello Ed,
>>
>>
>> Unfortunately no, nothing related to AdWords for Video in v201406.
>>
>>
>> -Danial, AdWords API Team.
>>
>>
>> On Friday, July 18, 2014 12:28:49 AM UTC+4, Ed- wrote:
>>>
>>> Hi,
>>>
>>> I just noticed there is a new version of the API - 201406, could not 
>>> find anything about download metrics about video ads.
>>>
>>> Any update on this question?
>>>
>>> Thank you,
>>>
>>>
>>> On Wednesday, January 25, 2012 10:16:36 AM UTC-2, Nakul Ringshia wrote:

 Hi 

 I need to pull the following metrics for the video ads 
 Ad 
 Ad previews 
 Video 
 Impressions 
 Views 
 View Rate 
 Avg. CPV 
 Total Cost 
 Website clicks 

 I looked at the Ad Performance reports but it does not provide the 
 above fields. How can the retrieve the above metrics using the AdWords 
 API. 

>>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1f64ddd0-6afe-4f86-a4ef-be959cc456ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Invalid field name for report 'MaxCpc' while using the api v201409

2014-10-14 Thread Oliver
I don't actually see MaxCpc in the keywords report anymore.  There is this 
one instead:

CpcBid

Oliver

On Tuesday, October 14, 2014 11:37:59 AM UTC+1, henrik@s24.com wrote:
>
> Hi,
> after upgrading the google adWords api version from v201406 to 09, 
> requesting a report with the fieldname 'MaxCpc' results in an error stating 
> 'ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT'.
>
> I am using the google ads java client (
> https://github.com/googleads/googleads-java-lib) Version 1.34.0.
>
> The docs (
> https://developers.google.com/adwords/api/docs/appendix/reports?csw=1#keywords)
>  
> are listing this field as valid. Has there been an undocumented change to 
> the api, or am I missing something?
>
> Thanks in advance,
> Henrik
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3a86ef77-6caf-43af-a711-c997d031fc68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Oliver
I thought Budget Optimizer strategies were deprecated a long time ago?

Oliver


On Tuesday, October 14, 2014 11:32:24 AM UTC+1, Alan Coleman wrote:
>
>
> Hello everyone,
>
> I have a campaign that I'd like to duplicate with the following 
> BiddingStrategyConfiguration object
>
>
> *object*(*BiddingStrategyConfiguration*)[*52*]
>   *public* 'biddingStrategyId' => null
>   *public* 'biddingStrategyName' => null
>   *public* 'biddingStrategyType' => string 'BUDGET_OPTIMIZER' 
> *(length=16)*
>   *public* 'biddingStrategySource' => null
>   *public* 'biddingScheme' => 
> *object*(*BudgetOptimizerBiddingScheme*)[*53*]
>   *public* 'bidCeiling' => 
> *object*(*Money*)[*55*]
>   ...
>   *public* 'enhancedCpcEnabled' => boolean false
>   *public* 'BiddingSchemeType' => string 
> 'BudgetOptimizerBiddingScheme' *(length=28)*
>   *private* '_parameterMap' (BiddingScheme) => 
> *array* *(size=1)*
>   ...
>   *public* 'bids' => null
>
>
>
> I'm using the following to create the biddingStrategyConfiguration
>
>
> $biddingStrategyConfiguration->biddingStrategyType = 'BUDGET_OPTIMIZER';
> $campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration;
>
>
> Which is producing the following bidding error
>
>
> *object*(*BiddingErrors*)[*36*]
>   *public* 'reason' => string 
> 'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=42)*
>   *public* 'fieldPath' => string 
> 'operations[0].operand.biddingStrategyConfiguration.biddingStrategyType' 
> *(length=70)*
>   *public* 'trigger' => string 'BUDGET_OPTIMIZER' *(length=16)*
>   *public* 'errorString' => string 
> 'BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=56)*
>   *public* 'ApiErrorType' => string 'BiddingErrors' *(length=13)*
>
>
> Here is the SOAP error
>
>
> 
>   soap:Server
>   [SelectorError.MISSING_PREDICATE_VALUES @ 
> serviceSelector]
>   
>  xmlns="https://adwords.google.com/api/adwords/cm/v201406";>
>   [SelectorError.MISSING_PREDICATE_VALUES @ 
> serviceSelector]
>   ApiException
>   http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="SelectorError">
> serviceSelector
> 
> SelectorError.MISSING_PREDICATE_VALUES
> SelectorError
> MISSING_PREDICATE_VALUES
>   
> 
>   
> 
>
> Since providing a bidding scheme is optional I'm at a loss to know what this 
> is.
>
>
> I have read the following documentation:
>
>
> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Campaign
>
> https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.BiddingStrategyConfiguration
>
>
> Has anyone had experience here they could share?
>
>
> Many thanks
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a916193c-733f-4789-aad6-7b37dfeadc67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Applying labels on adgroup

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi Ashish,

AdWords API calls are usually atomic in nature - either all the operations 
succeed, or they fail. If you have a failing operation, you should remove 
the failing operation, and make the API call again.

There's a partialFailure soapHeader you could use to get the behaviour you 
want, but I'm not sure if it applies to adding labels. 

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 13, 2014 12:36:23 PM UTC-4, Ashish Pathak wrote:
>
> Hi,
>
> I'm trying to apply labels on adgroups
>
> using code -perations.append({
>   'operator': 'ADD',
>   'operand': {
>   'adGroupId': adGroupID,
>   'labelId':  labelId
>  }
>  })
>
> if label is already associated with adgroup it returns error 
> : AdGroupServiceError.ADGROUP_LABEL_ALREADY_EXISTS @ 
> operations[104].operand 
>
> which is fine but label should be applied to some of the operation to 
> which label is missing.
>
> Example : if label for operation 0-103 is missing in account I'm not get 
> above error but when I checked in account label was not applied adgroup for 
> which label was missing.
>
> how to handle this case? 
>
> Thanks in advance!
> Ashish
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4c75205e-73d4-4efd-a2f3-aed6798b2370%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Concurrent Modification on Ad Group Error.

2014-10-14 Thread Anash P. Oommen (AdWords API Team)
Hi Brett,

You need to catch and retry the error after say, 30 seconds. Or, 
synchronize your API calls such that no two threads update the same adgroup 
at the same time.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Monday, October 13, 2014 3:20:45 PM UTC-4, Brett Koenig wrote:
>
>  Hey,
>
>  
>
> We have multiple services and threads that can be updating product group 
> destination URLs at the same time. Each one is updating a different product 
> group destination URL but sometimes the product groups are under the same 
> Ad Group.  When doing this we get a CONCURRENT_MODIFICATION error because 
> we are calling the AdGroupCriterionService with the same Ad Group Id but 
> different criterion at the same time.  What is the best way to get around 
> this error since we know that they aren’t conflicting updates?
>
>  
>
> Thank you,
>
>  
>
> *Brett Koenig *| Software Engineer
> *IgnitionOne - *Marketing Technology.  Simplified.
> Office:   1545 Peachtree St.  Suite 500 | Atlanta, GA | 30309
> Direct:   404.665.1711
>
> Twitter:@ignitionone 
>
> See Gartner’s “First Take” review of how IgnitionOne is igniting the 
> DMS/Hub space: https://www.gartner.com/doc/2687220
>
>  This e-mail and attachments, if any, may contain confidential and/or 
> proprietary information. Please be advised that the unauthorized use or 
> disclosure of the information is strictly prohibited. If you are not the 
> intended recipient, please notify the sender immediately by reply e-mail 
> and delete all copies of this email.
>
>  
>
>  
>  

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2b4991c2-83b5-41da-9a70-ae8234218c7d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to use adwords API to create "mobile app installs" campaign ?

2014-10-14 Thread Jelly Hu
Hi,

Maybe I find some mistake in the document 
https://developers.google.com/adwords/api/docs/appendix/templateads

template ID 353


Maybe 1 is for Google Play
2 is for Apple App Store
Please check.

On Saturday, October 11, 2014 2:40:08 PM UTC+8, Jelly Hu wrote:
>
> Hi Danial,
>
> I find that template ID 432 is for an *image banner* which belong to the 
> ads type '*Image app install ads*'.
>
> Last time I show you the screenshots below which I create on UI:
>
>
> 
>
> Its type belongs to '*App install ads*' (the document 
> https://developers.google.com/adwords/api/docs/appendix/templateads explain 
> that this type of ad is automatically generated ads, which are also 
> referred to as click-to-download ads. We can build this ad using your app 
> icon and reviews of your app in the Google Play or Apple App store. This ad 
> format is available both on the*Search Network* and the *Display Network*.
> )
>
>
> On Saturday, October 11, 2014 9:05:06 AM UTC+8, Jelly Hu wrote:
>>
>> Hi Danial,
>>
>>  Yes,I use 353 which take from the example 'AddClickToDowndownAd.PHP'.And 
>> I now find that the document you mention (
>> https://developers.google.com/adwords/api/docs/appendix/templateads) has 
>> different template ID accroding to different language selected at the 
>> bottom.For example,when I select Simplified Chinese,the document 
>> introduces  ID 9 , 247 , 190 , 49 , 178 , 13 only,when I select 
>> English,there are other IDs,include 445 , 353 , 453 , 247 , 442 , 455 ,432 
>> ,49 ,178 ,232 ,231,433,13,266.
>>
>> I'll try the ID 432
>>
>> Thanks.
>>
>> On Saturday, October 11, 2014 2:08:16 AM UTC+8, Danial Klimkin wrote:
>>>
>>> Hello Jelly,
>>>
>>>
>>> What is the template ID are you using? It's likely you use 353 instead 
>>> of 432 (see 
>>> https://developers.google.com/adwords/api/docs/appendix/templateads).
>>>
>>>
>>> -Danial, AdWords API Team.
>>>
>>>
>>> On Friday, October 10, 2014 8:38:52 AM UTC-4, Jelly Hu wrote:

 Oh,mabye I need to wait for the v201409 about mobile campaign

 On Friday, October 10, 2014 1:58:52 AM UTC+8, Danial Klimkin wrote:
>
> Hello Jelly,
>
>
> Please also see this just published guide:
>
>   
> https://developers.google.com/adwords/api/docs/guides/driving-mobile-app-downloads
>
>
> -Danial, AdWords API Team.
>
>
> On Thursday, September 25, 2014 7:00:21 AM UTC-4, Jelly Hu wrote:
>>
>> Hi,
>>
>> I want to know whether it's available for me to create "mobile app 
>> installs" campaign via API?
>>
>> I couldn't find anything about "mobile app installs" during the API 
>> document,
>> especially 
>> the CampaignService.
>>
>> What can I do to create "mobile app installs" campaign via API?
>>
>> Thanks!
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d13e7fb9-489b-47ae-805d-627e30625e6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Invalid field name for report 'MaxCpc' while using the api v201409

2014-10-14 Thread henrik . niklaus
Hi,
after upgrading the google adWords api version from v201406 to 09, 
requesting a report with the fieldname 'MaxCpc' results in an error stating 
'ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT'.

I am using the google ads java client 
(https://github.com/googleads/googleads-java-lib) Version 1.34.0.

The docs 
(https://developers.google.com/adwords/api/docs/appendix/reports?csw=1#keywords)
 
are listing this field as valid. Has there been an undocumented change to 
the api, or am I missing something?

Thanks in advance,
Henrik

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/dd72911f-1376-49c7-a241-fcd32d568459%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Adword Oauth Error: Failed to refresh access token.

2014-10-14 Thread Mahesh Kafaltiya
Hi, I am getting  following error ,while  refreshing my OAUTH 
access token for each google adwords sub clients. I have started getting 
them very frequently now. Please suggest if I am doing anything wrong?

ApiVersion: v201406 (lib18.3) 

 Google.Api.Ads.Common.Lib.AdsOAuthException: Failed to refresh access 
token.
{
  "error" : "internal_failure"
}


   Code Snippest:

AdWordsAppConfig adWordsAppConfig = new AdWordsAppConfig();
OAuth2ProviderForApplications oAuth2Provider = new 
OAuth2ProviderForApplications(adWordsAppConfig);
// isOffline is required for installed application
oAuth2Provider.IsOffline = true;
oAuth2Provider.RefreshAccessTokenIfExpiring(); // this method 
causing exception.

AdWordsUser user = new AdWordsUser(headers);
user.OAuthProvider = oAuth2Provider;
return user;

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/8fc84e49-6008-4d94-a810-e9b016985e60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Having trouble creating a new campaign with biddingStrategyType BUDGET_OPTIMIZER

2014-10-14 Thread Alan Coleman

Hello everyone,

I have a campaign that I'd like to duplicate with the following 
BiddingStrategyConfiguration object


*object*(*BiddingStrategyConfiguration*)[*52*]
  *public* 'biddingStrategyId' => null
  *public* 'biddingStrategyName' => null
  *public* 'biddingStrategyType' => string 'BUDGET_OPTIMIZER' *(length=16)*
  *public* 'biddingStrategySource' => null
  *public* 'biddingScheme' => 
*object*(*BudgetOptimizerBiddingScheme*)[*53*]
  *public* 'bidCeiling' => 
*object*(*Money*)[*55*]
  ...
  *public* 'enhancedCpcEnabled' => boolean false
  *public* 'BiddingSchemeType' => string 'BudgetOptimizerBiddingScheme' 
*(length=28)*
  *private* '_parameterMap' (BiddingScheme) => 
*array* *(size=1)*
  ...
  *public* 'bids' => null



I'm using the following to create the biddingStrategyConfiguration


$biddingStrategyConfiguration->biddingStrategyType = 'BUDGET_OPTIMIZER';
$campaign->biddingStrategyConfiguration = $biddingStrategyConfiguration;


Which is producing the following bidding error


*object*(*BiddingErrors*)[*36*]
  *public* 'reason' => string 
'CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=42)*
  *public* 'fieldPath' => string 
'operations[0].operand.biddingStrategyConfiguration.biddingStrategyType' 
*(length=70)*
  *public* 'trigger' => string 'BUDGET_OPTIMIZER' *(length=16)*
  *public* 'errorString' => string 
'BiddingErrors.CANNOT_ATTACH_BIDDING_STRATEGY_TO_CAMPAIGN' *(length=56)*
  *public* 'ApiErrorType' => string 'BiddingErrors' *(length=13)*


Here is the SOAP error



  soap:Server
  [SelectorError.MISSING_PREDICATE_VALUES @ 
serviceSelector]
  
https://adwords.google.com/api/adwords/cm/v201406";>
  [SelectorError.MISSING_PREDICATE_VALUES @ 
serviceSelector]
  ApiException
  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="SelectorError">
serviceSelector

SelectorError.MISSING_PREDICATE_VALUES
SelectorError
MISSING_PREDICATE_VALUES
  

  


Since providing a bidding scheme is optional I'm at a loss to know what this is.


I have read the following documentation:


https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.Campaign

https://developers.google.com/adwords/api/docs/reference/v201406/CampaignService.BiddingStrategyConfiguration


Has anyone had experience here they could share?


Many thanks

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/45a98eb3-71b8-45c9-8be8-7b10c3def5d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: UNEXPECTED_INTERNAL_API_ERROR

2014-10-14 Thread Mariusz
Hi there,

   I see this error several times a week. It is a transient error and you 
should retry the operation after small wait.


On Monday, 13 October 2014 19:49:17 UTC+1, rohit wrote:
>
> Hi,
>
> Seeing this error while setting ad group name.
>
> 
> http://www.w3.org/2001/XMLSchema";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:wsdl="https://adwords.google.com/api/adwords/cm/v201402";
> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/";>
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>*** (AwApi-Ruby/0.11.1, Common-Ruby/0.9.5, Savon/1.2.0, 
> jruby/1.9.3, HTTPI/1.1.1, net_http)
>   ***
>   ***
> 
>   
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   
> SET
> 
>   17919913827
>   Supplies Outlet - Discount Code
> 
>   
> 
>   
> 
>
> http://schemas.xmlsoap.org/soap/envelope/";>
>   
> 
>   soap:Server
>   InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>   
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro
>   
> https://adwords.google.com/api/adwords/cm/v201402";>
>   InternalApiError.UNEXPECTED_INTERNAL_API_ERROR @
>   
> com.google.ads.api.services.common.error.InternalApiError.(InternalApiErro
>   
> ApiException
>   http://www.w3.org/2001/XMLSchema-instance";
>   xsi:type="InternalApiError">
> 
> 
> 
> InternalApiError.UNEXPECTED_INTERNAL_API_ERROR
> InternalApiError
> UNEXPECTED_INTERNAL_API_ERROR
>   
> 
>   
> 
>   
> 
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6079d34c-1145-4b64-a6cc-455689d93bbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.