Re: How set enhanced CPC on TargetSpendBiddingScheme via the API

2017-02-06 Thread tsutomu . takahashi
Hi Regards, Shwetha.

Thanks for the quick response.
I understood a basic idea about the strategy but I am still 
confusing. Adwords Editor say that the strategy of "maximize clicks" can 
not set "Enhanced CPC" as you mentioned it,but web tool can do that. It is 
actually no meaning?
I am sorry in Japanese because I don't have a privellage to change language.

Tsutomu.





2017年2月7日火曜日 1時12分20秒 UTC+9 Shwetha Vastrad (AdWords API Team):
>
> Hi,
>
> The TargetSpendBiddingScheme 
> 
>  is 
> an automated bidding strategy to maximize your clicks with the given 
> budget. The *bidCeiling* field should be set to the largest max CPC bid 
> so you can set a cap on bids when using this strategy. The *spendTarget* 
> field 
> should be set to the amount you're willing to spend each day using on the 
> keywords, adGroups and campaigns using this strategy. Enhanced CPC 
> , 
> on the other hand, automatically adjusts your manual bids to try to 
> maximize conversions. Enhanced CPC is to be used along with manual bidding 
> options. You can use this guide 
>  
> to 
> determine the bid strategy for your case.
>
> Regards,
> Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/37080343-6c1a-4a8b-a447-168633250451%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Create vs. Remove operation speed.

2017-02-06 Thread Matthew Wawrin
Hi,

I noticed that during some recent changes to adgroup keywords the batched 
mutates of the adGroupCriterion to remove existing keywords took much 
longer than creating new ones.  I was removing about 16 keywords and 
creating 18 new ones per adgroup.   The create operations took a few 
seconds to complete per mutate  while to remove took about  a minute and 
half.  For each adgroup, the remove operations were batched in the same 
mutate, and the all create operations were batched in the same mutate.

I haven't debugged the timing precisely on my end (there are database 
delete and inserts for each keyword), but I doubt the difference is on my 
end.  I'll have more data tomorrow.

Is there a performance difference between create and remove operations in 
adwords?  

I'll also look at batching all the removes/creates for all adgroups into 
one mutate for remove and then create, this will result in just two mutate 
calls, one for remove and one for create, and about 1000 batched operations 
per. 

Thanks for any insight on speed differences between remove and create. 

Matt.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8557a2a8-244a-4de2-830f-999f81aaa4e2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Destination and display URLs

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Mark,

You can use either Keyword Insertion 
, AdParameters 
 or Ad 
customizers 
 to 
update the contents of the displayUrl of an Ad. Using keyword insertion, 
you'll be able to replace the exact keyword which was matched to the search 
term. If you want to modify the keywords before updating the displayUrl, 
you should use AdParameters or Ad customizers. The SetAdParameters 

 
Java example demonstrates how to set ad parameters for a keyword. You can 
then create Ads which use these parameters in the displayUrl. The 
AddAdCustomizer 

 
Java example demonstrates how to add an Ad customizer feed and use this 
feed to build an ad. Example code in other languages is available here 
. 

Let me know if you have any further questions. 

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/967dfa41-ed91-41a6-82b2-04f97a22fd97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Share audiences between accounts in MCC

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

I'm afraid sharing remarketing lists associated with the client account 
with its MCC account is not possible using AdWords API. You need to do this 
in the AdWords UI using the instructions provided here 
. Please keep an eye on 
our blog  for 
any updates or announcements related to this feature. 

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/99c47ad5-fea6-4ffb-a735-bc412c473dbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: get campaign ip exclusions with api

2017-02-06 Thread manager
Hello Andras
Can you send me FULL php api code how import IPBLOCK to adwords?
I try it 2days but still some error.
Thanks for you answer
Martin

On Friday, April 17, 2015 at 8:41:42 PM UTC+2, Andras Kende wrote:
>
> Hello Nadine,
>
> It's working now with 'KeywordText'   :) 
>
> [criterion] => IpBlock Object
> (
> [ipAddress] => 11.11.11.11/32
> [id] => 38090986511
> [type] => IP_BLOCK
> Thank you !!!
>
> Andras
>
>
>
> On Friday, April 17, 2015 at 6:39:39 AM UTC-7, Nadine Sundquist (AdWords 
> API Team) wrote:
>>
>> Hello Andras,
>>
>> Try getting the IP address information out of *KeywordText*:
>>
>> $selector->fields = array('Id', 'CriteriaType', 'KeywordText');
>>
>> When retrieving information, you need to make sure to specify what you 
>> want in the selector.
>>
>> Best,
>> Nadine, AdWords API Team
>>
>> On Thursday, April 16, 2015 at 8:13:14 PM UTC-4, Andras Kende wrote:
>>>
>>> Hi Nadine,
>>>
>>> I'm getting the results of IP_BLOCK [id] but the [ipAddress] is empty :(
>>> See my code and results :
>>>
>>> >> $path = dirname(__FILE__) . '/src';
>>> set_include_path(get_include_path() . PATH_SEPARATOR . $path);
>>> require_once 'Google/Api/Ads/AdWords/Lib/AdWordsUser.php';
>>> $user = new AdWordsUser();
>>> $user->SetClientCustomerId('111-222-');
>>> $campaignId = '123456789';
>>> $campaignCriterionService = 
>>> $user->GetService('CampaignCriterionService', 'v201502');
>>> $selector = new Selector();
>>> $selector->fields = array('Id', 'CriteriaType');
>>> $selector->predicates[] = new Predicate('CampaignId', 'IN', 
>>> array($campaignId));
>>> $selector->predicates[] = new Predicate('CriteriaType', 'IN', 
>>> array('IP_BLOCK'));
>>> $selector->paging = new Paging(0, 
>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE);
>>> $page = $campaignCriterionService->get($selector);
>>> print_r($page);
>>> ?>
>>>
>>>
>>> CampaignCriterionPage Object
>>>
>>> (
>>>
>>> [entries] => Array
>>>
>>> (
>>>
>>> [0] => NegativeCampaignCriterion Object
>>>
>>> (
>>>
>>> [campaignId] => 123456789
>>>
>>> [isNegative] => 1
>>>
>>> [criterion] => IpBlock Object
>>>
>>> (
>>>
>>> [ipAddress] => 
>>>
>>> [id] => 20471658932
>>>
>>> [type] => IP_BLOCK
>>>
>>> [CriterionType] => IpBlock
>>>
>>> [_parameterMap:Criterion:private] => Array
>>>
>>> (
>>>
>>> [Criterion.Type] => CriterionType
>>>
>>> )
>>>
>>> )
>>>
>>> [bidModifier] => 
>>>
>>> [forwardCompatibilityMap] => 
>>>
>>> [CampaignCriterionType] => NegativeCampaignCriterion
>>>
>>> [_parameterMap:CampaignCriterion:private] => Array
>>>
>>> (
>>>
>>> [CampaignCriterion.Type] => 
>>> CampaignCriterionType
>>>
>>> )
>>>
>>> )
>>>
>>>
>>> Thank you,
>>>
>>> Andras
>>>
>>>
>>>
>>>
>>> On Thursday, April 16, 2015 at 9:01:23 AM UTC-7, Nadine Sundquist 
>>> (AdWords API Team) wrote:

 Hi Andras,

 In the PHP CampaignCriterionService, there is a get($selector) 
 
  function 
 that will allow you to filter the list of CampaignCriterion based on 
 fields 
 such as *CriteriaType. *Check out how CampaignCriterionService 
 selector fields 
 
  
 work.

 For an example of getting CampaignCriterion by type, we have a PHP 
 example of getting campaign targeting criteria 
 .
  
 The type you would need would be IP_BLOCK.

 Cheers,
 Nadine, AdWords API Team

 On Thursday, April 16, 2015 at 11:01:33 AM UTC-4, Andras Kende wrote:
>
> Hello,
>
> I just started testing Adwords API (php)
>
> So far I can use CampaignCriterionService for IP_BLOCK - ADD / REMOVE 
> to Manage IP exclusions in a Campaign
>
> But not finding any information how to get a list of excluded IP 
> Addresses 
> listed in IP exclusions..
>
> Thanks for any help !
>
> Andras
>


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot

Re: geo performance by ZIP_CODE?

2017-02-06 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi Jay,

You can use the field MostSpecificCriteriaId 

 in 
the Geo Performance Report to fetch the location criterion associated with 
the impression. If you use zip codes as a targeting criterion for geographical 
targeting 
, you 
can use the Criteria Performance Report and filter on the CriteriaType 

 as LOCATION.

Regards,
Vishal Vinayak, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8be0b49c-b9de-4d47-a9de-dc1be88973fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: IPBLOCK Adwords api php

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

Could you provide the error that you encounter when you perform this 
operation? Using the above program, you'll encounter the 
CampaignCriterionError.CONCRETE_TYPE_REQUIRED 
.
 
You need to create a concrete criterion of type IpBlock 

 
and then provide this to NegativeCampaignCriterion 
.
 
This example 

 shows 
how to add a negative keyword criterion at the campaign level. You need to 
add the negative IpBlock criterion in a similar fashion. Could you try this 
out and let me know if it works?

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d1e1de9-3f1b-4e9b-9c84-b1f6dbe34b90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is it possible to get the xml response instead of the object?

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi, 

If you're familiar with suds, you can follow the instructions provided here 

 to 
access the underlying suds client to access the raw XML response. Since 
this is a Python specific question, please create a new issue in the Python 
client library repository 
 so that your 
question can be addressed there. 

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a3a05a65-c22c-49d3-b7e0-fdc491fe67d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: February 2017 API version release date

2017-02-06 Thread 'Vishal Vinayak (Adwords API Team)' via AdWords API Forum
Hi,

Unfortunately, I do not have an update on the approximate release date for 
the next version of AdWords API (v201702). So far, the scheduled 

 sunset 
date for v201605 is 28th Feb 2017. Any announcements regarding 
sunset/release dates would be first made available on our blog 

. 

Regards,
Vishal Vinayak, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f366c2d1-288f-4978-b61a-6279daecb1d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


geo performance by ZIP_CODE?

2017-02-06 Thread Jay Zou
I pulled a GEO_PERFORMANCE_REPORT, which is by city level. 

Is there any other reports type providing granular segmentation, like ZIP 
code?

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e0388c2b-226a-4f52-9b2f-a0d7ea0e66ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tracking template URL are cut off, why???

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Andrey,

On this forum we address technical issues related to AdWords API. Since 
this issue is related to AdWords in general, I suggest that you post your 
query in the AdWords Community Forum 
 as they are better equipped to 
answer your questions. You can also contact AdWords Support using one of 
the options provided here 
.

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e3c60d1a-e440-4029-aace-6424770cc885%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Ipblock adwords api php???

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

IpBlock is a negative criterion that should be applied at the campaign 
level. You need to use CampaignCriterionService 

 to 
retrieve your CampaignCriterion. The predicates, fields, etc. of a selector 
are protected variables in the PHP client library. This is the reason you 
encounter errors when you execute your program. You need to use the 
corresponding setters to populate these fields as shown here 
.
 
Could you try this out and let me know if it works? 

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6446745b-5f6e-498c-ae57-dbfbf0d075ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OfflineConversionError.INVALID_CONVERSION_TYPE Issue

2017-02-06 Thread Mark Wills
Hey Shwetha, I posted a question in this form but it isn't showing up. Do 
you know why?

On Monday, February 6, 2017 at 11:46:17 AM UTC-5, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Jeremy,
>
> The conversion "Leads (51227)" is of type "Website". This is the reason 
> you encounter OfflineConversionError.INVALID_CONVERSION_TYPE error. To 
> import offline conversions into your account, you need to create a 
> conversion action of type "Import from clicks" as described here 
> .
>  
> This can be done in the AdWords UI as well using the instructions provided 
> here . 
>
> Regards,
> Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/43673532-0a7a-4854-ab7a-f0ef4c082047%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Why isn't my question showing?

2017-02-06 Thread Mark Wills
I just posted in the AdWords API forum...but I can't see it? Anyone know 
why?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d51ae73-8a22-4b01-be69-1729eae79429%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Destination and display URLs

2017-02-06 Thread Mark Wills
Hi.

I want to know if it is possible if I can have a specific final URL and 
display URL for a specific keyword that will get switched out based upon 
each keyword. For example, if I have 20,000 keywords and one ad, I want it 
so it will switch out the URL for a searched keyword if it is part of my 
keywords. 

More specifically, if I have the name Jon Erickson in my keywords, I want 
it so it will switch out the display URL to be domain.com/John-Smith. I 
want the final URL to be domain.com/name/John-Smith - Again, I want to 
automatically use that display URL and final URL for that particular 
keyboard.

Another example: if I have the name Kate Becker, I want the display URL to 
be domain.com/Kate-Becker. I want the final URL to be 
domain.com/name/Kate-Becker. 

The point is I want it so I can have a list of keywords and have dynamic 
display and final URLs that will switch out for each of those keywords 
(when one of they keywords are searched in Google). They don't have to be 
the full url essentially as they're all going to the same site...but just 
the part after the "domain.com/" ... so domain.com/
*THIS-PART-NEEDS-TO-BE-DYNAMIC* both for display and final urls.

Currently, I use Dynamic Search Keywords to switch out keywords in the ad 
title and description, it works great (I think) but I would like to take it 
this step further and be able to have it in the display URL (which I'm 
pretty sure I can do with Dynamic Search Keywords) and also the final URL. 
The problem is mainly in the final URL not accepting Dynamic Search 
Keywords.

Also, what I was doing was for each keyword I'd create a specific ad for 
that keyword. I.e., for the keyword Mark Gunderson I had an ad with Dynamic 
Search Keywords in the title and description but with a display URL that 
was domain.com/Mark-Gunderson and a final URL that was 
domain.com/name/Mark-Gunderson. This is one option...but it is very manual 
and tedious. However, I did it as I was hoping that the Dynamic Search 
Keywords would be able to match the keywords to their ads. If I were to use 
a solution like what I'm proposing to you, would Dynamic Search Keywords 
work well? Is it "smart" enough to know to replace the Dynamic Search 
Keyword in the title, description, and display URL if it is in my keyword 
list? This especially concerns me because I'm hoping to find a way to do 
this with a dynamic final URL.

One other thing, if I use the normal Adwords interface, I'm only permitted 
to have 4 million (active or paused) ads per  account. There are other 
limits as well. Are these limits still the same if I'm using the Adwords 
API? If not, maybe the best option would be to have all these keyword 
specific ads generated (like what I did above) but instead of having to do 
it manually, it could be done with a script. Thoughts? Thank you.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c74d9c5a-13b4-4f36-9328-768ce8e603e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


February 2017 API version release date

2017-02-06 Thread jtopper
Hi there, Is there any update regarding the formal release date for the 
February 2017 Adwords API version? 
Considering the sunset date for v201605 is end of Feb, it would be 
beneficial to integrate with v201702 rather than with v201609.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/eb485b46-387e-4713-b1e2-eb6df1bdc0cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Share audiences between accounts in MCC

2017-02-06 Thread eran


Is it possible for an account to share audiences with its MCC (parent 
account) programmatically (using Adwords API)?

It means I'll have to perform the following steps programmatically:

   1. Enable audience sharing
  - MCC: Admin Tab > Choose Account > Edit > Re-marketing Account > 
  Change to this manager
  - Client: Account Settings > enable Remarketing list sharing (toggle)
  2. Share existing audience
  - MCC: Shared library > Audiences > Add Re-marketing List > Add list 
  created by a client > choose a client account audience to share
   
Source: https://support.google.com/adwords/answer/6123188

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/307429b8-7940-4c54-ac61-d3841071e3c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: OfflineConversionError.INVALID_CONVERSION_TYPE Issue

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Jeremy,

The conversion "Leads (51227)" is of type "Website". This is the reason you 
encounter OfflineConversionError.INVALID_CONVERSION_TYPE error. To import 
offline conversions into your account, you need to create a conversion 
action of type "Import from clicks" as described here 
.
 
This can be done in the AdWords UI as well using the instructions provided 
here . 

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5769c44f-be69-4b97-ba8b-d14a61476e99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How set enhanced CPC on TargetSpendBiddingScheme via the API

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi,

The TargetSpendBiddingScheme 

 is 
an automated bidding strategy to maximize your clicks with the given 
budget. The *bidCeiling* field should be set to the largest max CPC bid so 
you can set a cap on bids when using this strategy. The *spendTarget* field 
should be set to the amount you're willing to spend each day using on the 
keywords, adGroups and campaigns using this strategy. Enhanced CPC 
, 
on the other hand, automatically adjusts your manual bids to try to 
maximize conversions. Enhanced CPC is to be used along with manual bidding 
options. You can use this guide 
 to 
determine the bid strategy for your case.

Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/413ad45c-522f-4581-8831-8fdf2078f4f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to get Customer Id with username and password

2017-02-06 Thread 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
Hi Sachin,

Once you have the access token associated with the email address in 
question, you need to perform a CustomerService.getCustomers() 

 
request with the clientCustomerId header unset. An example SOAP request and 
response looks like this:

Request:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance";>
  
https://adwords.google.com/api/adwords/cm/v201609"; soapenv:actor=
"http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0">
  YOUR_DEVELOPER_TOKEN
  YOUR_APPLICATION_NAME
  false
  false

  
  
https://adwords.google.com/api/adwords/mcm/v201609"/>
  



Response:

http://schemas.xmlsoap.org/soap/envelope/";>

https://adwords.google.com/api/adwords/cm/v201609"; xmlns:ns2=
"https://adwords.google.com/api/adwords/mcm/v201609";>
000547de2be2e8600a819cca21042387
CustomerService
getCustomers
1
470



https://adwords.google.com/api/adwords/cm/v201609"; xmlns:ns2=
"https://adwords.google.com/api/adwords/mcm/v201609";>

1234567890
USD
America/New_York
Account_Name
true






Regards,
Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/acc3f943-3557-44cf-ab96-81053560d167%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tracking template URL are cut off, why???

2017-02-06 Thread andrey . pakharchuk
Inside Interface Adwords, track url when checking is correct, the question 
is why GoogleServices cuts the link. Can you have your technical experts to 
redirect the this issue, as the performance of RMF is mandatory for 
partners, then its functionality is to function properly

пятница, 3 февраля 2017 г., 20:05:16 UTC+3 пользователь Shwetha Vastrad 
(AdWords API Team) написал:
>
> Hi Andrey,
>
> Could you check if the tracking template is set up correctly? The 
> {keyword} parameter will be replaced by the keyword that matched the 
> query of the content from for Search and Display campaigns. Since this is 
> not specific to AdWords API, I suggest you post your query in the AdWords 
> Community Forum 
> 
>  as 
> they are better equipped to answer your questions. 
>
> Regards,
> Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4d86f255-6314-426b-a3d6-e047ecc4e518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


OfflineConversionError.INVALID_CONVERSION_TYPE Issue

2017-02-06 Thread Jeremy Helms
Hello,

I am getting the OfflineConversionError.INVALID_CONVERSION_TYPE error. 
 From reading other topics it usually has to do with using the MCC customer 
ID instead of the actual account ID where the conversion is setup.  I have 
verified I am using the actual account ID where the conversion is setup and 
the conversion matches the name exactly.  

*Request:*



http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201609";>
  

  5834423624
  REDACTED
  unknown (AwApi-PHP/15.0.0, Common-PHP/15.0.0, 
PHP/5.6.28)

  
  

  
ADD

  
CjwKEAiA8dDEBRDf19yI97eO0UsSJAAY_yCSOBP230PlhJjDX-lCBfphM1fwqERTCjeACSFDa1wH7xoC-EXw_wcB

  Leads (51227)
  20170203 171440 America/New_York

  0

  

  



*Response:*



http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201609";>
  000547a79bb45ac10a371395a9005898
  OfflineConversionFeedService
  mutate
  1
  231

  
  

  soap:Server
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  
https://adwords.google.com/api/adwords/cm/v201609";>
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  ApiException

  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OfflineConversionError">
operations[0].operand

OfflineConversionError.INVALID_CONVERSION_TYPE

OfflineConversionError
INVALID_CONVERSION_TYPE
  

  

  




I have tested with removing the parentheses in the conversion name thinking 
that might be the cause of the error but it did not solve the issue.  I 
have also tested with other accounts as well and it did not work.  The test 
for the other accounts were using different GCLID and customer ID that 
matched the respective accounts.

Please note this is a newly upgraded (2 days ago) API developer account to 
basic access if that has anything to do with it.

Just looking for some help to get me moving in the right direction.  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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e36d4780-ba00-4324-9844-705c541620c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Ipblock adwords api php???

2017-02-06 Thread manager
Hello
i write this code but its not correct.
Any ideas??? Or is the other way???


*Fatal error*: Cannot access protected property

use Google\AdsApi\AdWords\AdWordsServices;
use Google\AdsApi\AdWords\AdWordsSession;
use Google\AdsApi\AdWords\AdWordsSessionBuilder;
use Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionOperation;
use Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionService;
use Google\AdsApi\AdWords\v201609\cm\AdGroupCriterion;
use Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionServiceInterface;
use Google\AdsApi\AdWords\v201609\cm\AdGroupCriterionReturnValue;
use Google\AdsApi\AdWords\v201609\cm\Criterion;
use Google\AdsApi\AdWords\v201609\cm\Operator;
use Google\AdsApi\AdWords\v201609\cm\Selector;
use Google\AdsApi\AdWords\v201609\cm\Predicate;
use Google\AdsApi\AdWords\v201609\cm\Placement;
use Google\AdsApi\Common\OAuth2TokenBuilder;


class Updateip {
const campaignId = '';
protected $selector;
  public static function runExample(
 AdWordsServices $adWordsServices,
  AdWordsSession $session) {
// Get the AdGroupCriterionService.

$adGroupCriterionService =
$adWordsServices->get($session, AdGroupCriterionService::class);

  $selector = new Selector();

$selector->predicates[] = new Predicate('CampaignId', 'IN', 
array($campaignId));
$selector->predicates[] = new Predicate('CriteriaType', 'IN', 
array('IP_BLOCK'));
$selector->predicates[] = new Predicate('ipAddress', 'IN', 
array('10.10.10.10'));
$page = $campaignCriterionService->get($selector);
print_r($page);

  }

  public static function main() {
// Generate a refreshable OAuth2 credential for authentication.
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();

// Construct an API session configured from a properties file and the 
OAuth2
// credentials above.
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();


 self::runExample(
new AdWordsServices(), $session);
  }
}

Updateip::main();



Thanks 
MK

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9d8ac14e-e383-44f6-a4ca-e9857e5ad750%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to get the XML response instead of object?

2017-02-06 Thread Jin
Hello, 

I have used the client library in python language and used the 
TargetingIdeaService. 

My problem is that, I wish to get the xml response instead of the object 
TargetingIdea. Will that be possible in the current client library? 

Please help. Thank you. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a51fb851-532f-478a-8614-c6d98e09e4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How set enhanced CPC on TargetSpendBiddingScheme via the API

2017-02-06 Thread tsutomu . takahashi
Hi team,

I am using v201607 Java library and I tried to set enhancedCPC on 
TargetSpendBiddingScheme via the API but I couldn't find that field on 
TargetSpendBiddingScheme object.Is there any way to do this?
I found a similar question but it is over a year ago.It is still impossible?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b288f557-1c97-464a-a66a-9235d851eae6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


OfflineConversionError.INVALID_CONVERSION_TYPE Error

2017-02-06 Thread helms.ui
Hello,

We are getting the OfflineConversionError.INVALID_CONVERSION_TYPE when 
attempting to add conversions.  The client ID is the correct ID where the 
conversion is located.  The conversion name matches exactly.

Request:



http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1=
"https://adwords.google.com/api/adwords/cm/v201609";>
  

  5834423624
  REDACTED
  unknown (AwApi-PHP/15.0.0, Common-PHP/15.0.0, 
PHP/5.6.28)

  
  

  
ADD

  
CjwKEAiA8dDEBRDf19yI97eO0UsSJAAY_yCSOBP230PlhJjDX-lCBfphM1fwqERTCjeACSFDa1wH7xoC-EXw_wcB

  Leads (51227)
  20170203 195141 America/New_York

  0

  

  




Response:



http://schemas.xmlsoap.org/soap/envelope/";>
  
https://adwords.google.com/api/adwords/cm/v201609";>
  000547a9cd43bd180a37a38e9903bc95
  OfflineConversionFeedService
  mutate
  1
  237

  
  

  soap:Server
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  
https://adwords.google.com/api/adwords/cm/v201609";>
  [OfflineConversionError.INVALID_CONVERSION_TYPE @ 
operations[0].operand]
  ApiException

  http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="OfflineConversionError">
operations[0].operand

OfflineConversionError.INVALID_CONVERSION_TYPE

OfflineConversionError
INVALID_CONVERSION_TYPE
  

  

  




I have also attempted to remove the parentheses from the conversion name 
thinking this might be the cause.  That didn't work either.  I have also 
tested with other accounts using their respective GCLID and customer IDs, 
not working either.

This is a recently (2 days ago) upgraded developer token, it was moved from 
testing to standard access.  Not sure if that would cause the issue or not, 
but thought I would point it out.

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/40418ac4-579b-4230-a2c8-5dc956684ec5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Tracking template and auto tagging for managed customers

2017-02-06 Thread Gary Madden
Hi Shwetha,

Thanks for the reply! I wasn't setting the newly created customer's id in 
the header. Now I am and my code's working.

Best regards,

Gary

On Friday, February 3, 2017 at 5:43:37 PM UTC+2, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi Gary,
>
> TrackingUrlTemplate at the account level needs to be set using 
> CustomerService 
> .
>  
> Once you create a client account using ManagedCustomerService 
> ,
>  
> you need to set the clientCustomerId 
> 
>  
> header to the ID of the newly created account and then perform a 
> CustomerService.mutate() 
> 
>  
> operation to update the tracking URL template of this customer account. If 
> this value is not being set correctly, could you send over your SOAP 
> request and response logs so I can take a look? Please use *Reply 
> privately to author* when responding. 
>
> Regards,
> Shwetha, 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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ba56194f-36d8-4500-9bda-4877e66a9437%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


IPBLOCK Adwords api php

2017-02-06 Thread manager

HI all  
I want to block IP but somwhere i have 
problem at code. Can you help me please???
Here is the code

class UpdateKeyword {
const campaignId = '367448090';

 public static function runExample(AdWordsServices $adWordsServices,
  AdWordsSession $session, $campaignId) {
$campaignCriterionService = $adWordsServices->get($session, 
CampaignCriterionService::class);
  $negativeCampaignCriterion = new 
NegativeCampaignCriterion($campaignId,"IsNegative", "IpBlock");

 $negativeCampaignCriterion->Id = "222";
  $negativeCampaignCriterion->ipAddress="10.10.10.10";
 

  // Create operations.
  $operation = new CampaignCriterionOperation();
  $operation->setoperand ($negativeCampaignCriterion);
$operation->setOperator(Operator::ADD);
$operations[] = $operation;

  // Add campaign criteria.
$campaignCriterion =
$campaignCriterionService->mutate($operations)->getValue()[0];

  }

  public static function main() {
// Generate a refreshable OAuth2 credential for authentication.
$oAuth2Credential = (new OAuth2TokenBuilder())
->fromFile()
->build();

// Construct an API session configured from a properties file and the 
OAuth2
// credentials above.
$session = (new AdWordsSessionBuilder())
->fromFile()
->withOAuth2Credential($oAuth2Credential)
->build();


self::runExample(
new AdWordsServices(), $session, intval(self::campaignId));
  }
}

UpdateKeyword::main();

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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ae0e06a3-273c-4206-89a6-d6bde6af52b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Is it possible to get the xml response instead of the object?

2017-02-06 Thread Jin

Hello, 

I have used the client library in python and requested from 
TargetingIdeaService.

My problem is that I wish to use the xml response instead of the Targeting 
object. Does that exist in any methods from client library? 

Please help. Thank you! :) 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b224e3a9-ca23-407d-b09f-626e87643b92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can I get my ad performance data as a postback to my server?

2017-02-06 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

The NetworkSetting 

 of 
the CampaignService is only available in the AdWords API. For AdWords 
Scripts concerns, I would recommend that you get in contact with their team 
via this forum .

Best regards,
Peter
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 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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0e11eb44-47a1-48ca-8d41-af123cf0d035%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.