Re: Retrieve Campaign Budget IDs

2018-12-03 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

You could use the Campaign Performance Report 

 to 
retrieve the BudgetId 

 of 
each of your campaigns.

Let me know if this is what you're looking for.

Thanks and regards,
Luis
AdWords API Team

On Tuesday, December 4, 2018 at 7:51:57 AM UTC+8, jtopper wrote:
>
>
> Hi, I'm trying to update campaign budgets however i don't currently have 
> the budget IDs. How can I retrieve budget IDs for all campaigns in an 
> account?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/5af14245-3df0-4c33-96dd-f7b968963335%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Deprecation Announced under Google Search

2018-12-03 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Teri,

Could you provide more context on your concern with the AdWords API so I 
could give you the right information you need? What do you mean on 
"Deprecation Announced under Google Search"? Could you provide screenshot 
if possible so I could better check this?

Thanks and regards,
Luis
AdWords API Team

On Tuesday, December 4, 2018 at 7:17:49 AM UTC+8, Teri Johnson wrote:
>
> Does anyone know what this means or how it can be fixed? I have been 
> searching on Google and can't find any answers.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/3f7621a1-8f5b-4cba-95db-88077832acb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Integer or Float with Customizer

2018-12-03 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Costantin,

Upon comparing your code to the sample code provided here 
,
 
I am seeing unnecessary commas, could you try the code snippet below which 
I have removed the commas?

customizer_feed = {
 'feedName': feed_name,
 'feedAttributes': [
 {'type': 'STRING', 'name': 'some string name'},
 {'type': 'INT64', 'name': 'Int Name'}
 ]
}


If the error is still persisting after trying the above suggestion, please 
send the complete SOAP request and response log so we could investigate 
this further. To enable SOAP logs on Python you can follow this guide 

.

Regards,
Dannison
AdWords API Team

On Monday, December 3, 2018 at 9:16:21 PM UTC+8, cos...@gmail.com wrote:
>
> Di Dannison,
>
> This is the full request:
>
>  ad_customizer_feed_service = client.GetService("AdCustomizerFeedService", 
> version='v201809')
>  feed_name = "feed_xyz"
>  customizer_feed = {
>  'feedName': feed_name,
>  'feedAttributes': [
>  {'type': 'STRING', 'name': 'some string name'},
>  {'type': 'INT64', 'name': 'Int Name'},
>  ],
>  }
>  # Types: 
> https://developers.google.com/adwords/api/docs/reference/v201809/FeedService.FeedAttribute
>  feed_service_operation = {'operator': 'ADD', 'operand': customizer_feed}
>  response = ad_customizer_feed_service.mutate([feed_service_operation])
>
> The mutate fails and gives me this:
>
> Error summary: {'faultMessage': '[RequiredError.REQUIRED @ 
> operations[0].operand.feedAttributes[1].type]', 'requestId': 
> '00057c1de8XX', 'serviceName': 'AdCustomizerFeedService', 'methodName': 
> 'mutate', 'operations': '1', 'responseTime': '311'}
>
> ..
>
> line 1394, in MakeSoapRequest
>
> e.detail, errors=error_list, message=e.message)
>
> googleads.errors.GoogleAdsServerFault: [RequiredError.REQUIRED @ 
> operations[0].operand.feedAttributes[1].type]
>
>
> This identical request with 'STRING' as the type for the second element (Int 
> Name) works without any issue. 
>
> Please let me know if I can provide more info. 
>
> p.s. I'm using the official python library with Python 3.6
>
> On Thursday, November 29, 2018 at 11:19:39 PM UTC+2, Dannison Yao (AdWords 
> API Team) wrote:
>>
>> Hi Costantin,
>>
>> The RequiredError.REQUIRED 
>> 
>>  only 
>> error occurs when there are missing required fields.
>>
>> Can you provide the complete XML SOAP request and response logs so we 
>> can investigate this further? You may use the *R**eply privately to 
>> author *option. If you have not enabled the logging, you can tell me 
>> what client library you are using so I can point you to the proper guide.
>>
>> Regards,
>> Dannison
>> AdWords API Team
>>
>> On Friday, November 30, 2018 at 12:22:31 AM UTC+8, cos...@gmail.com 
>> wrote:
>>>
>>> I'm trying to add a customizer via the API. I would like to add it as an 
>>> integer or float. I do the following:
>>>
>>> customizer_feed = {
>>> 'feedName': feed_name,
>>> 'feedAttributes': [
>>> {'type': 'STRING', 'name': 'a'},
>>> ],
>>> }
>>>  feed_service_operation = {'operator': 'ADD', 'operand': 
>>> customizer_feed}
>>> response = ad_customizer_feed_service.mutate([feed_service_operation])
>>>
>>> The code above works, however, If I replace STRING with INT64 or FLOAT I 
>>> get the following error:
>>>
>>> googleads.errors.GoogleAdsServerFault: [RequiredError.REQUIRED @ 
>>> operations[0].operand.feedAttributes[1].type]
>>>
>>> I thought that the valid field types are these ones  
>>> -
>>>  
>>> Why it doesn't work?
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/832bcf0e-8fa1-4d34-a92f-7c5122101a79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't delete users using v201806's AdwordsUserListService

2018-12-03 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Pablo,

The error INVALID_USER_LIST_ID 

 is 
encountered when you are trying to mutate a user list Id that does not 
belong to your account. Could you try running the 
AdwordsUserListService.get() 

 and 
see if the results will return the user list Id you have specified? 

If it was not returned, this means that the user list id you specified does 
not belong to the account you are using.

Regards,
Dannison
AdWords API Team

On Tuesday, December 4, 2018 at 7:05:26 AM UTC+8, Pablo D. wrote:
>
> Hey, everyone! I'm trying to automate user deletion from our Customer 
> Lists at Google Ads for GDPR compliance matters.
>
> I couldn't get a positive response from Google's API. Data below.
>
> *URL:*
> https://adwords.google.com/api/adwords/rm/v201806/AdwordsUserListService
>
> *Body Payload:*
>
> http://schemas.xmlsoap.org/soap/envelope/;>
>
>
>
>  https://adwords.google.com/api/adwords/rm/v201806;>
>
>
>
>{DEV_TOKEN_HERE}
>
>{CLIENT_CUSTOMER_ID_HERE}
>
>  
>
>
>
>http://schemas.xmlsoap.org/soap/envelope/;>
>
>  https://adwords.google.com/api/adwords/rm/v201806;>
>
>
>
>  https://adwords.google.com/api/adwords/cm/v201806;>REMOVE
>
>  
>
>https://adwords.google.com/api/adwords/rm/v201806”>{MY_USER_LIST_ID}
> 
>
>https://adwords.google.com/api/adwords/rm/v201806;>
>
>  {MY_HASHED_EMAIL_TO_BE_REMOVED}
>
>
>
>  
>
>
>
>  
>
>
>
> 
>
> *Response:*
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
> https://adwords.google.com/api/adwords/rm/v201806; xmlns="
> https://adwords.google.com/api/adwords/cm/v201806;>
> {requestID}
> AdwordsUserListService
> mutateMembers
> 1
> 245
> 
> 
> 
> 
> soap:Client
> [MutateMembersError.INVALID_USER_LIST_ID @ 
> operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']
> 
> 
> https://adwords.google.com/api/adwords/cm/v201806; xmlns:ns2="
> https://adwords.google.com/api/adwords/rm/v201806;>
> [MutateMembersError.INVALID_USER_LIST_ID @ 
> operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']
> 
> ApiException
> 
> http://www.w3.org/2001/XMLSchema-instance; xsi:type=
> "ns2:MutateMembersError">
> operations[0].operand.userListId
> 
> 
> operations
> 0
> 
> 
> operand
> 
> 
> userListId
> 
> UserListId: {MY_USER_LIST_ID}
> 
> MutateMembersError.INVALID_USER_LIST_ID
> MutateMembersError
> INVALID_USER_LIST_ID
> 
> 
> 
> 
> 
> 
>
> *Note:*
> Values between curly brackets are valid. Actually, *{MY_USER_LIST_ID}* 
> could be any item from the response of the following query:
> http://schemas.xmlsoap.org/soap/envelope/;>
> 
>   https://adwords.google.com/api/adwords/rm/v201806;>
> 
> {DEV_TOKEN_HERE}
> {CLIENT_CUSTOMER_ID_HERE}
>   
> 
> http://schemas.xmlsoap.org/soap/envelope/;>
>   https://adwords.google.com/api/adwords/rm/v201806;>
> https://adwords.google.com/api/adwords/rm/v201806;>
>   Id
>   Name
>   Status
>   
> ListType
> EQUALS
> CRM_BASED
>   
>   
> Status
> EQUALS
> OPEN
>   
> 
>   
> 
> 
>
> Any ideas on this? Thank you!
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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.

Re: Получить баланс аккаунта через PHP

2018-12-03 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi,

My apologies as we could only provide support in English. Based on your 
code snippet, I noticed that the BudgetOrderService 

 is 
missing in your imports. Could you try adding the below code snippet and 
see if it works?

use Google\AdsApi\AdWords\v201806\billing\ BudgetOrderService;


If the issue persist, I would suggest to post this issue on this link 
 as the PHP client 
library owners are better equipped to assist you here.

Thanks and regards,
Luis
AdWords API Team

On Tuesday, December 4, 2018 at 7:03:53 AM UTC+8, seoupsu42 wrote:
>
> Добрый день господа. Пытаюсь получить баланс аккаунта, пока не получается 
> определить класс для PHP
>
> Есть пример JS скрипта, что сейчас использую в скриптах, на PHP не могу 
> перевести
>
> var budgetOrder = AdWordsApp.budgetOrders().get().next();
> var adjustments = budgetOrder.getTotalAdjustments(); // Возвращенные 
> средства на аккаунт
> var SpendingLimit = budgetOrder.getSpendingLimit(); // Общий лимит 
> аккаунта
>
> Я пытаюсь начать с этого и у меня не получается
>  namespace Google\AdsApi\Examples\AdWords\v201806\BasicOperations;
> require '/googleads-php-lib/vendor/autoload.php';
>
> use Google\AdsApi\AdWords\AdWordsServices;
> use Google\AdsApi\AdWords\AdWordsSession;
> use Google\AdsApi\AdWords\AdWordsSessionBuilder;
> use Google\AdsApi\AdWords\v201806\cm\CampaignService;
> use Google\AdsApi\AdWords\v201806\cm\OrderBy;
> use Google\AdsApi\AdWords\v201806\cm\Paging;
> use Google\AdsApi\AdWords\v201806\cm\Selector;
> use Google\AdsApi\AdWords\v201806\cm\SortOrder;
> use Google\AdsApi\AdWords\v201806\cm\Budget;
> use Google\AdsApi\AdWords\v201806\cm\BudgetService;
> use Google\AdsApi\Common\OAuth2TokenBuilder;
> use Google\AdsApi\Common\ConfigurationLoader;
> const PAGE_LIMIT = 500;
>
> function GetBalance($adWordsServices, $session)
> {
>
> $BudgetOrderService = $adWordsServices->get($session, 
> BudgetOrderService::class);
> echo "ШАБЛОН arResult: ";  print_r($BudgetOrderService); echo 
> "";
> .
>
> Класс BudgetOrderService не существует
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/bd4b5728-6e13-4a98-a626-eda12b1b795d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove FinalUrls on the Keyword level?

2018-12-03 Thread Nellle Rickchards
Thanks!

I'm writing this in Python. So I'm a little confused.

Here is my code:
criterion_operations = [
{
'xsi_type': 'AdGroupCriterionOperation',
'operand': {
'xsi_type': 'BiddableAdGroupCriterion',
'adGroupId': i[0],
'criterion': {
'id': i[1],
},
'userStatus': i[3],
'finalUrls': {
'urls': i[5]
},
},
'operator': 'SET'
}
for i in update_keywords]



On Monday, December 3, 2018 at 6:47:46 PM UTC-5, Peter Oliquino (AdWords 
API Team) wrote:
>
> Hi Nellle,
>
> We currently do not have a direct example, however, using the Java client 
> library, I have tried the following code snippet (setting its final URL as 
> a new instance of a UrlList) to remove the current values of my test 
> account's finalUrl.
>
> UrlList urlList = new UrlList();
> biddableAdGroupCriterion.setFinalUrls(urlList);
>
>
> Let me know if this helps.
>
> Best regards,
> Peter
> AdWords API Team
>
> On Tuesday, December 4, 2018 at 6:53:49 AM UTC+8, Nellle Rickchards wrote:
>>
>> Hello,
>>
>> I exadently uploaded our root domain as the finalURL for multiple 
>> keywords. I fix this error by removeing the finalUrl in on the keyword 
>> level so that we use the text ads final url. I tried passing "NULL" as the 
>> keyword final url but it returns and error for being to short. 
>>
>> I can't seem to find any information  on how to remove the finalURL. 
>>
>> Any help would be appreciated! 
>>
>> Thanks.
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/38e02f1c-ab60-4dec-84b3-1783d778eb31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to calculate video played to 25% from API reports

2018-12-03 Thread Zweitze
Hello,

I struggled with this exact question a year and a half ago.
You are talking about InStream video ads. For those ads, metric Impressions 
states the number of videos that were started. VideoQuartile25Rate is the 
percentage of those starts, where the video was shown for at least 25 
percent, VideoQuartile50Rate is the percentage where the video was shown 
for at least 50 percent etc.

So, your calculation is (in SQL notation):
SUM(Impressions * VideoQuartile25Rate) / SUM(Impressions)

But...
Video campaigns may have two different types of video ads: InStream and 
VideoDiscovery. VideoDiscovery are ads shown in the search page, and there 
Impressions have a different meaning for those ads: the number of times 
that the ad was shown in the search results page. However, VideoDiscovery 
does not support VideoQuartileXXXRate metrics. In other words, the 
calculation breaks when a campaign has both InStream and VideoDiscovery ads.

So how do you distinguish the number of Impressions for InStream ads, from 
Impressions for VideoDiscovery ads?
See my question *in this topic* 
 18 
months ago.
In short: AdWords Web UI features a segmentation called "View Type" 
allowing to separate InStream metrics from VideoDiscovery metrics, and 
allows to distinguish the impressions between the video types. This 
segmentation is exactly what we need for our calculations. Is this 
segmentation "Video Type" supported in AdWords API as well? The answer was 
no, there is no timeframe, check the blog, blablabla. To my knowledge this 
has not been added (yet).

So the answer is: if you have campaigns with both InStream ads, and 
VideoDiscovery ads, there is no way.

But there is a workaround. Although campaigns can contain both InStream and 
VideoDiscovery ads, ad groups can only contain one of those - not both. You 
can nowadays look that distinction up in attribute AdGroupType, it has 
value YOUTUBE_WATCH for InStream ads, and YOUTUBE_SEARCH for VideoDiscovery 
ads. (Note: those values appeared a few months after my question, so that's 
why this workaround was not described in forementioned topic).
Thus, the workaround is to use ADGROUP_PERFORMANCE_REPORT with a predicate 
on AdGroupType=YOUTUBE_WATCH, then do the same calculation. If you also 
want to show Impressions, Clicks, Cost etc. as well, you need to omit the 
predicate, and also request AdGroupType, and change the calculation 
accordingly.

When I tested this the numbers matched exactly.

I hope this helps. I would appreciate if you posted your findings - when 
they match or not match, in the latter case I have to look at this again as 
well...


On Friday, November 30, 2018 at 12:20:12 PM UTC+1, kis...@citizennet.com 
wrote:
>
> I am fetching last 7 days campaign performance reports through API. Now I 
> want to calculate the all metric values at the current day from last 7 days.
> To calculate video_view_rate I have added all VideoViews divided by sum of 
> impressions( from docs) which will gives me the exact answer.
>
> In the same way I want to calculate for other metrics which are 
> video_played_to_25%, video_played_to_50%.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/3cec8033-c369-4665-b99d-9a9b5e0b77f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Retrieve Campaign Budget IDs

2018-12-03 Thread jtopper

Hi, I'm trying to update campaign budgets however i don't currently have 
the budget IDs. How can I retrieve budget IDs for all campaigns in an 
account?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/9ca1e375-6485-40f0-86c5-6f77e23c0e6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to remove FinalUrls on the Keyword level?

2018-12-03 Thread 'Peter Oliquino (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Nellle,

We currently do not have a direct example, however, using the Java client 
library, I have tried the following code snippet (setting its final URL as 
a new instance of a UrlList) to remove the current values of my test 
account's finalUrl.

UrlList urlList = new UrlList();
biddableAdGroupCriterion.setFinalUrls(urlList);


Let me know if this helps.

Best regards,
Peter
AdWords API Team

On Tuesday, December 4, 2018 at 6:53:49 AM UTC+8, Nellle Rickchards wrote:
>
> Hello,
>
> I exadently uploaded our root domain as the finalURL for multiple 
> keywords. I fix this error by removeing the finalUrl in on the keyword 
> level so that we use the text ads final url. I tried passing "NULL" as the 
> keyword final url but it returns and error for being to short. 
>
> I can't seem to find any information  on how to remove the finalURL. 
>
> Any help would be appreciated! 
>
> Thanks.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/214423d1-24e5-40d6-b53e-9c983bd9dad2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Deprecation Announced under Google Search

2018-12-03 Thread Teri Johnson
Does anyone know what this means or how it can be fixed? I have been 
searching on Google and can't find any answers.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/e771c543-065e-46fb-bbcd-35c26b58b19d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Баланс аккаунта через PHP

2018-12-03 Thread seoupsu42
Добрый день, у меня есть JS-скрипт для вычисления баланса аккаунта:

function main() {
var budgetOrder = AdWordsApp.budgetOrders().get().next();
var adjustments = budgetOrder.getTotalAdjustments(); // Возвращенные 
средства на аккаунт
var SpendingLimit = budgetOrder.getSpendingLimit(); // Общий лимит 
аккаунта
var Spent = 
AdWordsApp.currentAccount().getStatsFor('ALL_TIME').getCost(); // Расход за 
все время
... далее уже простая математика

Есть уже рабочий API на PHP (демо примеры работают), подскажите как 
адаптировать JS-скрипт в PHP-скрипт?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/a24b02a1-ce50-49a9-a030-4c1ffa6e415e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't delete users using v201806's AdwordsUserListService

2018-12-03 Thread Pablo D.
Hey, everyone! I'm trying to automate user deletion from our Customer Lists 
at Google Ads for GDPR compliance matters.

I couldn't get a positive response from Google's API. Data below.

*URL:*
https://adwords.google.com/api/adwords/rm/v201806/AdwordsUserListService

*Body Payload:*

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

   

 https://adwords.google.com/api/adwords/rm/v201806;>

   

   {DEV_TOKEN_HERE}

   {CLIENT_CUSTOMER_ID_HERE}

 

   

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

 https://adwords.google.com/api/adwords/rm/v201806;>

   

 https://adwords.google.com/api/adwords/cm/v201806;
>REMOVE

 

   https://adwords.google.com/api/adwords/rm/v201806”>{MY_USER_LIST_ID}


   https://adwords.google.com/api/adwords/rm/v201806;>

 {MY_HASHED_EMAIL_TO_BE_REMOVED}

   

 

   

 

   



*Response:*
http://schemas.xmlsoap.org/soap/envelope/;>

https://adwords.google.com/api/adwords/rm/v201806; xmlns=
"https://adwords.google.com/api/adwords/cm/v201806;>
{requestID}
AdwordsUserListService
mutateMembers
1
245




soap:Client
[MutateMembersError.INVALID_USER_LIST_ID @ 
operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']


https://adwords.google.com/api/adwords/cm/v201806; xmlns:ns2=
"https://adwords.google.com/api/adwords/rm/v201806;>
[MutateMembersError.INVALID_USER_LIST_ID @ 
operations[0].operand.userListId; trigger:'UserListId: {MY_USER_LIST_ID}']

ApiException

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


operations
0


operand


userListId

UserListId: {MY_USER_LIST_ID}
MutateMembersError.INVALID_USER_LIST_ID

MutateMembersError
INVALID_USER_LIST_ID







*Note:*
Values between curly brackets are valid. Actually, *{MY_USER_LIST_ID}* 
could be any item from the response of the following query:
http://schemas.xmlsoap.org/soap/envelope/;>

  https://adwords.google.com/api/adwords/rm/v201806;>

{DEV_TOKEN_HERE}
{CLIENT_CUSTOMER_ID_HERE}
  

http://schemas.xmlsoap.org/soap/envelope/;>
  https://adwords.google.com/api/adwords/rm/v201806;>
https://adwords.google.com/api/adwords/rm/v201806;>
  Id
  Name
  Status
  
ListType
EQUALS
CRM_BASED
  
  
Status
EQUALS
OPEN
  

  



Any ideas on this? Thank you!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/6c4496d9-3b5a-409a-a696-4144f21e8f1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Получить баланс аккаунта через PHP

2018-12-03 Thread seoupsu42
Добрый день господа. Пытаюсь получить баланс аккаунта, пока не получается 
определить класс для PHP

Есть пример JS скрипта, что сейчас использую в скриптах, на PHP не могу 
перевести

var budgetOrder = AdWordsApp.budgetOrders().get().next();
var adjustments = budgetOrder.getTotalAdjustments(); // Возвращенные 
средства на аккаунт
var SpendingLimit = budgetOrder.getSpendingLimit(); // Общий лимит 
аккаунта

Я пытаюсь начать с этого и у меня не получается
get($session, 
BudgetOrderService::class);
echo "ШАБЛОН arResult: ";  print_r($BudgetOrderService); echo 
"";
.

Класс BudgetOrderService не существует

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/a60d82fd-53e9-425b-a5ce-4bd7a62135ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to remove FinalUrls on the Keyword level?

2018-12-03 Thread Nellle Rickchards
Hello,

I exadently uploaded our root domain as the finalURL for multiple keywords. 
I fix this error by removeing the finalUrl in on the keyword level so that 
we use the text ads final url. I tried passing "NULL" as the keyword final 
url but it returns and error for being to short. 

I can't seem to find any information  on how to remove the finalURL. 

Any help would be appreciated! 

Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/bef9bda8-9dd8-4c54-b687-7fe649aab61c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-12-03 Thread Jim Malone
The problem appears to have resolved itself for us.  Can you let us know 
what the problem was, and if there's anything we can/should do on our end 
to avoid it from happening again in the future?

Jim

On Monday, December 3, 2018 at 4:32:39 PM UTC-5, Sreelakshmi Sasidharan 
(AdWords API Team) wrote:
>
> Hello All, 
>
> Could you please confirm if you are still facing CONCURRENT_MODIFICATION 
> error while making calls with the AdWords API? 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/18f60dff-6104-4750-8677-20ee96242b7f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AdWords Java SDK - Getting DatabaseError.CONCURRENT_MODIFICATION

2018-12-03 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello All, 

Could you please confirm if you are still facing CONCURRENT_MODIFICATION 
error while making calls with the AdWords API? 

Thanks,
Sreelakshmi, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/38814d0e-2103-4a4a-b572-6a6b2f3ec4f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to load Campaign location and language settings to keyword targeting idea service function

2018-12-03 Thread 'Bharani Cherukuri (AdWords API Team)' via AdWords API and Google Ads API Forum
Hello Yuechen,

I'm afraid, it is currently not possible to pull the Targeting ideas based 
on the campaign Id and its targeting criteria. The closest we have is 
giving the Ad Group ID and retrieve the targeting ideas. You may refer to this 
guide 

 as 
a reference for this.

Thanks,
Bharani, AdWords API Team 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/87e96ffa-eb7c-475a-8003-9574f9ed0395%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to calculate video played to 25% from API reports

2018-12-03 Thread 'Dhanya Sundararaju (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Kishore,

As you have a product data specific question, I would suggest reaching out 
to product support via the Help link available on the top right of your 
AdWords account. Alternatively, you can also post on the Advertiser 
community forum 
. 
If you find that the data via API is different from that via the UI, please 
feel free to write back to us.

Regards,
Dhanya, AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/37564f92-e104-4536-8f88-d904ede9418d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Integer or Float with Customizer

2018-12-03 Thread cosbgn
Di Dannison,

This is the full request:

 ad_customizer_feed_service = client.GetService("AdCustomizerFeedService", 
version='v201809')
 feed_name = "feed_xyz"
 customizer_feed = {
 'feedName': feed_name,
 'feedAttributes': [
 {'type': 'STRING', 'name': 'some string name'},
 {'type': 'INT64', 'name': 'Int Name'},
 ],
 }
 # Types: 
https://developers.google.com/adwords/api/docs/reference/v201809/FeedService.FeedAttribute
 feed_service_operation = {'operator': 'ADD', 'operand': customizer_feed}
 response = ad_customizer_feed_service.mutate([feed_service_operation])

The mutate fails and gives me this:

Error summary: {'faultMessage': '[RequiredError.REQUIRED @ 
operations[0].operand.feedAttributes[1].type]', 'requestId': 
'00057c1de8XX', 'serviceName': 'AdCustomizerFeedService', 'methodName': 
'mutate', 'operations': '1', 'responseTime': '311'}

..

line 1394, in MakeSoapRequest

e.detail, errors=error_list, message=e.message)

googleads.errors.GoogleAdsServerFault: [RequiredError.REQUIRED @ 
operations[0].operand.feedAttributes[1].type]


This identical request with 'STRING' as the type for the second element (Int 
Name) works without any issue. 

Please let me know if I can provide more info. 

p.s. I'm using the official python library with Python 3.6

On Thursday, November 29, 2018 at 11:19:39 PM UTC+2, Dannison Yao (AdWords 
API Team) wrote:
>
> Hi Costantin,
>
> The RequiredError.REQUIRED 
> 
>  only 
> error occurs when there are missing required fields.
>
> Can you provide the complete XML SOAP request and response logs so we can 
> investigate this further? You may use the *R**eply privately to author *
> option. If you have not enabled the logging, you can tell me what client 
> library you are using so I can point you to the proper guide.
>
> Regards,
> Dannison
> AdWords API Team
>
> On Friday, November 30, 2018 at 12:22:31 AM UTC+8, cos...@gmail.com 
>  wrote:
>>
>> I'm trying to add a customizer via the API. I would like to add it as an 
>> integer or float. I do the following:
>>
>> customizer_feed = {
>> 'feedName': feed_name,
>> 'feedAttributes': [
>> {'type': 'STRING', 'name': 'a'},
>> ],
>> }
>>  feed_service_operation = {'operator': 'ADD', 'operand': 
>> customizer_feed}
>> response = ad_customizer_feed_service.mutate([feed_service_operation])
>>
>> The code above works, however, If I replace STRING with INT64 or FLOAT I 
>> get the following error:
>>
>> googleads.errors.GoogleAdsServerFault: [RequiredError.REQUIRED @ 
>> operations[0].operand.feedAttributes[1].type]
>>
>> I thought that the valid field types are these ones  
>> -
>>  
>> Why it doesn't work?
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/d2e7f46e-158f-4a39-b38f-c52a53a73f4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: criteria service PLACEMENT not work

2018-12-03 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Alejandro,

Could you please provide the complete SOAP request and response logs 
(including the clientCustomerId) via the the *Reply privately to author* option 
so 
I can look into the issue you're having?

You can enable SOAP logging on your end by referring to this guide 
.
 
Once enabled, kindly send to me the generated SOAP request and response 
logs so I can determine more accurately which caused the issue.

Regards,
Dannison
AdWords API Team

On Monday, December 3, 2018 at 1:30:29 PM UTC+8, Alejandro Brücher wrote:
>
> I insert a negative criterial 
> ---
>  customer_negative_criterion_service = client.GetService(
>   'CustomerNegativeCriterionService', version='v201809')
>   criteria = [
>   # Exclude a specific placement.
>   {
>   'xsi_type': 'Placement',
>   'url': url
>   }
>   ]
>   operations = [{
>   'operator': 'ADD',
>   'operand': {
>   'criterion': criterion
>   }
>   } for criterion in criteria]  
>   result = customer_negative_criterion_service.mutate(operations)
>
> --  
>
> and insert de negative criterial!
> when i search the insert
> -
> selector = {
>   'fields': ['Id'],
>   'predicates': [{
>   'field': 'CriteriaType',
>   'operator': 'IN',
>   'values': ['PLACEMENT']
>   }],
>   'paging': {
>   'startIndex': str(offset),
>   'numberResults': str(PAGE_SIZE)
>   }
>   }  
>   # Make the mutate request.
>   page = campaign_criterion_service.get(selector)
> --
> return null
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/2b756500-78d6-4221-a518-7ea973e6720f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Probably a Simple Question About External Conditions Causing Campaigns to Pause and Unpause

2018-12-03 Thread 'Dannison Yao (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Andy, 

Unfortunately, I cannot comment on your question as this is out of scope 
for the AdWords API support.

You may contact the Google Analytics support team 
 as they are the proper team 
to handle these types of inquiries.

Regards,
Dannison
AdWords API Team 


On Monday, December 3, 2018 at 1:30:27 PM UTC+8, Andy Sweet wrote:
>
> Good afternoon all,
>
> I have a question about turning campaigns on for a specific period of time 
> caused by a signal from Google Analytics.
>
> To explain - if there's an event that causes there to be 5 people on my 
> site at once (yes, I'm very low volume and only paid search and direct 
> navigation for traffic), can Google Analytics 'tell' Google Ads to unpause 
> a specific Google Ads campaign for a 10 minutes?
>
> Thanks in advance for any response.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/afa18933-282e-47d6-ada8-c25847f2b6a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Automatically Update Text Ad Prices

2018-12-03 Thread 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Paul,

Thank you for providing detailed information on your concern. If you are 
planning to get the product price from spreadsheet and upload it as dynamic 
info into an ad, then I'm afraid it is not possible in AdWords API as we do 
not support integration of the Google Spreadsheet. However, the closest 
solution we could provide to you is to use the ad customizer 

. 

You could use the ad customizer to add dynamic price to your expanded text 
ad which is a feed-based 
 solution 
for injecting dynamic information into your ads. Once you set up the feed 
with targeting options for specific campaigns, ad groups, and/or keywords, 
you could then associate it with the ads with the information in the feed, 
so the values in the feed are shown at serve time. You may check this guide 

 for 
more information and this complete sample code 

 (also 
available in other languages) for reference.

Let me know if this helps.

Thanks and regards,
Luis
AdWords API Team

On Monday, December 3, 2018 at 1:30:28 PM UTC+8, Paul 11 wrote:
>
> Hello there,
>
> I am looking for a solution to a text ad update challenge.
>
> We have thousands of text ads for products where prices of those products 
> requires updating regularly. We are struggling to update the text ads with 
> pricing information at the same pace that the prices are changing.
>
> We have the ability to generate scheduled CSV downloads of product details 
> e.g. Column 1: Product SKU code, Column 2: Price. We can do this on an 
> hourly basis.
>
> We can also import this data into a Google Sheet so that the data can 
> "talk" to other Google products.
>
> However, I am really struggling to find a solution that enables us to 
> update prices in text ads based on that generated data.
>
> I thought that there may be a solution that looks a bit like this:
>
> If our original CSV download data is: Column 1: abcde, Column 2: £5.99 
> from spreadsheet Pricing_Update
>
> I thought that I would be able to create a text ad that says something 
> like:
>
> Buy the abcde for {Pricing_Update.abcde.%Column 2]
>
> This may be a little naive on my part. In this example I would like the 
> value in the {} brackets to look up the abcde value in the Pricing.Update 
> spreadsheet and return whatever the value is next to it (a bit like a 
> VLOOKUP function).
>
> I thought that maybe I could manipulate the data in Google Sheets where 
> the product code (abcde) could be transposed into a column title (cell A1) 
> and then a product price inserted beneath it (in cell A2). This way, the 
> next product fghij could be a column title (in cell B1) with its 
> fluctuating price in cell B2. I thought I might be able to target the 
> column title on an ad by ad basis by targeting the column header in the 
> Google Ad, but I'm not sure this is targetable on an ad by ad basis. 
>
> We have a Google Shopping feed running as well. I thought that there may 
> be a way of taking the product ID and inserting the price into the text ad 
> that corresponds with the item ID but there seems to be no way of doing 
> this.
>
> I have explored the AdParams option and it appears that you can change 
> prices based only on keywords.
>
> I have also explored Ad Customizers and it seems you can only target the 
> prices based on Campaign or Ad Group name.
>
> What I am really looking for is more granular solution where I can target 
> a specific sku code and update the price for that sku code in a text ad, 
> but I just can't find a solution.
>
> I hope this is clear from my explanation.
>
> I would be most grateful if anyone can suggest a solution please.
>
> Many thanks in advance.
>
> Kind regards,
>
> Paul
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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 

Re: Adwords API: Unexpected changes in TV Screens bid modifiers

2018-12-03 Thread 'Ivan Roizman' via AdWords API and Google Ads API Forum
Hi, Dhanya.

I sent customer id for you in a private message.

Regards,
Ivan

On Thursday, 29 November 2018 22:49:23 UTC+5, Dhanya Sundararaju (AdWords 
API Team) wrote:
>
> Hi Ivan,
>
> I am unable to reproduce this issue at my end. Therefore, could you reply 
> back with the client customer id and complete SOAP request and response so 
> that I can check further? You may opt to *reply privately to author*.
>
> Regards,
> Dhanya, AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/fb4a2171-33cd-4c06-8690-31b10f0d9271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.