what resource to query to detect failed payments?

2024-05-22 Thread Nils Rooijmans
Is there a way to use GAQL to check and detect payment failures in the 
Google Ads account?

Thanks already!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2ebc7a0b-3168-4e07-8b81-ae106637885bn%40googlegroups.com.


Missing Max Performance campaign

2024-05-17 Thread 'Nils Rückmann' via Google Ads API and AdWords API Forum
Hi, we are missing a single campaign in the search results. Even when 
trying to filter by it's ID we don't find them.

SELECT campaign.id, campaign.name FROM campaign WHERE campaign.id = 
'604145267'

Any idea why this can happen?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/46767b02-7bb3-49fc-8969-e0954a417667n%40googlegroups.com.


RESOURCE_EXHAUSTED - Number of operations for basic access - OAUTH Extenral

2023-05-12 Thread Nils
Hi there,

with the increase in connected Google Ads accounts we have been running 
into API limits.

According to the docs, we should apply for Standard Access, however, the 
application form is for the Developer Token approach and not for the OAUTH 
Web App External flow.
We also do not have a Google Ads account our selves which is required as 
well for the application form.

How should we proceed?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/652e9ad2-26b9-48cd-83b6-13e3675a9dd9n%40googlegroups.com.


How to check and see if an account has enabled the 'Auto-apply' option for recommendations?

2022-06-04 Thread Nils Rooijmans
I am looking for a way to query the Google Ads API to check and see if an 
account has enabled the 'Auto-apply' option for recommendations. 

See:
https://support.google.com/google-ads/answer/10276359

Can we use *GAQL *to see if this option is enabled?

thanks already!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/52e5d3a7-80a4-4613-b9a2-e36b463e97d5n%40googlegroups.com.


Re: How to retrieve the audiences for a given campaign via the Google Ads API

2020-01-02 Thread Nils So
I think I found the right direction. *CustomAffinityService. *I was able to 
retrieve details about the audience using the CustomAffinityService, 
although I only got 3 entries back, and I have much more custom affinities.

The "*totalNumEntries*" of the result say 3, any idea why not more results


Best Nils

Am Dienstag, 31. Dezember 2019 12:15:52 UTC+1 schrieb Nils So:
>
> Hi Nikisha,
>
> thanks for your quick reply. Your answer helped me. At the end I had to 
> use the `AdGroupCriterionService 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService#get>`
>  
> to fetch the CUSTOM_AFFINITY and CUSTOM_INTENT criteria, for some reason 
> using the CampaignCriterionService didnt give me any results.
>
> I have one more question regarding the CUSTOM_INTENT. Now that I have the 
> ID of the CUSTOM_INTENT, how can I get more information about it? For 
> instance the name or the keywords in this intent?
> Same question for the USER_INTEREST criteria?
>
>
> Thanks for much for your help.
>
> Best Regards 
> Nils
>
>
>
> Am Montag, 30. Dezember 2019 23:19:34 UTC+1 schrieb adsapiforumadvisor:
>>
>> Hello,
>>
>> Thank you for reaching the support. You could use 
>> CampaignCriterionService.get() 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService#get_1>
>>  
>> or the AdGroupCriterionService.get() 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService#get>
>>  by 
>> selecting one of the criteria types available here 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterion#criterion>.
>>  You 
>> may use the CUSTOM_AFFINITY 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.CriterionCustomAffinity#criteriontype>
>>  or 
>> CUSTOM_INTENT 
>> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.CriterionCustomIntent>
>>  to 
>> pull the Custom Affinity or Custom Intent audience via API. If you are not 
>> seeing any data it might be that the account you are using might not have 
>> data. To verify this further, could you please share the complete request 
>> and response logs along with the client customer id of the account for me 
>> to investigate this further on my end?
>>
>> P.S. Please use *Reply privately to author* option while sharing the 
>> details.
>>
>> Regards,
>> Nikisha Patel, Google Ads API Team
>>
>>
>> ref:_00D1U1174p._5001UOFS3L:ref
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9b886461-7a0c-4153-88fe-e3311ac44b24%40googlegroups.com.


Re: How to retrieve the audiences for a given campaign via the Google Ads API

2019-12-31 Thread Nils So
Hi Nikisha,

thanks for your quick reply. Your answer helped me. At the end I had to use 
the `AdGroupCriterionService 
<https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService#get>`
 
to fetch the CUSTOM_AFFINITY and CUSTOM_INTENT criteria, for some reason 
using the CampaignCriterionService didnt give me any results.

I have one more question regarding the CUSTOM_INTENT. Now that I have the 
ID of the CUSTOM_INTENT, how can I get more information about it? For 
instance the name or the keywords in this intent?
Same question for the USER_INTEREST criteria?


Thanks for much for your help.

Best Regards 
Nils



Am Montag, 30. Dezember 2019 23:19:34 UTC+1 schrieb adsapiforumadvisor:
>
> Hello,
>
> Thank you for reaching the support. You could use 
> CampaignCriterionService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/CampaignCriterionService#get_1>
>  
> or the AdGroupCriterionService.get() 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService#get>
>  by 
> selecting one of the criteria types available here 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.AdGroupCriterion#criterion>.
>  You 
> may use the CUSTOM_AFFINITY 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.CriterionCustomAffinity#criteriontype>
>  or 
> CUSTOM_INTENT 
> <https://developers.google.com/adwords/api/docs/reference/v201809/AdGroupCriterionService.CriterionCustomIntent>
>  to 
> pull the Custom Affinity or Custom Intent audience via API. If you are not 
> seeing any data it might be that the account you are using might not have 
> data. To verify this further, could you please share the complete request 
> and response logs along with the client customer id of the account for me 
> to investigate this further on my end?
>
> P.S. Please use *Reply privately to author* option while sharing the 
> details.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UOFS3L:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/649c97c8-eb5e-4f16-9f07-8e91398426ad%40googlegroups.com.


How to retrieve the audiences for a given campaign via the Google Ads API

2019-12-29 Thread Nils So


I'm trying to fetch the audiences (Custom intent, Custom affinity) of all 
my enabled google display campaigns.


I thought I can get it through the CampaignCriterionService, but the 
returned data is empty.


 campaign_criterion_service = ADWORDS_CLIENT.GetService(
'CampaignCriterionService', version='v201809')

selector = {
'fields': ['CampaignId', 'Id', 'CriteriaType', "PlacementUrl",
   'KeywordText', "ChannelName", "AppId", "DisplayName", 
"CampaignStatus", "CampaignName"],
'predicates': [{
'field': 'CriteriaType',
'operator': 'IN',
'values': [
'CUSTOM_AFFINITY',
'CUSTOM_INTENT'
]
},
{
'field': 'CampaignStatus',
'operator': 'IN',
'values': [
'ENABLED'
]
}


],
'paging': {
'startIndex': 0,
'numberResults': 500
}
}

page = campaign_criterion_service.get(selector)

Can someone give me some pointers? Highly appreciated.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8fe848bc-7d1f-4a28-88f1-e3d2d57e192e%40googlegroups.com.


Re: Getting a report of the total clicks broken down by placement type per campaign

2019-07-29 Thread Nils
Hi Hiroyuki,

thanks for the link to the guide and the pointer to the" Automatic 
Placements Performance Report 
<https://developers.google.com/adwords/api/docs/appendix/reports#automatic-placements>.".
 
I had in fact seen those pages, but I still wasn't able to aggregate the 
report by the placement type (*Web page, Mobile Application, YouTube 
Channel*).

Right now my report returns one line per placements and doesn't group by 
placement type. Note this is in Node.js

adWords.getReport("v201809", {
reportName: "Custom Adgroup Performance Report",
reportType: "AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT",
fields: ["CampaignName", "AdNetworkType2","Clicks"],
filters: [
{
field: "CampaignStatus", operator: "IN", values: ["ENABLED"],
field: "CampaignId", operator: "IN", values: [
"SOME_GOOGLE_DISPLAY_ID"]
}
],
dateRangeType: "CUSTOM_DATE", //defaults to CUSTOM_DATE. startDate or 
endDate required for CUSTOM_DATE
startDate: new Date("01/01/2019"),
endDate: new Date(),
format: "XML" //defaults to CSV
}, (error, report) => {


//   report returns something like this, although in XML format 
//   { campaign: 'Campagn X123', networkWithSearchPartners: 'Display 
Network', clicks: '1' },
//   { campaign: 'Campagn X123', networkWithSearchPartners: 'Display 
Network', clicks: '2' },
    //   ...
//
//
});


My questions is:
Is there a way, to have the placement type (like in the screenshot) avaible 
in the API reports and group by it?


Best Nils




On Monday, 29 July 2019 09:32:27 UTC+2, Nils wrote:
>
> Hi guys,
>
> I'm trying to get a report via the API of the total clicks broken down by 
> the "placement type" per campaign.
>
> The placement type has the following values: *Web page, Mobile 
> Application, YouTube Channel.*
>
>
> I was able, to get this data by using the google reports web interface 
> (see screenshot, in this case without campaign), but I wasn't able to find 
> the field "placement type" in the API report attributes anywhere.
>
>
> Is there a way to group the automatic placements by it's type per campaign?
>
> [image: Report__Google.png]
> Best Nils
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/807583bf-11b6-4c2c-b8d6-b19cbb77cf64%40googlegroups.com.


Getting a report of the total clicks broken down by placement type per campaign

2019-07-29 Thread Nils
Hi guys,

I'm trying to get a report via the API of the total clicks broken down by 
the "placement type" per campaign.

The placement type has the following values: *Web page, Mobile 
Application, YouTube Channel.*


I was able, to get this data by using the google reports web interface (see 
screenshot, in this case without campaign), but I wasn't able to find the 
field "placement type" in the API report attributes anywhere.


Is there a way to group the automatic placements by it's type per campaign?

[image: Report__Google.png]
Best Nils


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/2aee05d9-047e-4534-a26e-58bb1d152a65%40googlegroups.com.


Loading Error with the googleads.yaml file

2018-09-13 Thread nils
Hej Community,

I wrote a script that pulls a performance report and based on KPI 
evaluation adds labels to ads.
When I run this script on my machine it works fine but when I copied the 
script and the googleads.yaml file to my colleagues PC, it doesn't work 
anymore.

Traceback (most recent call last):
 File 
"C:\Users\Juniqe\AppData\Local\Programs\Python\Python37\lib\site-packages\googleads\common.py",
 
line 289, in LoadFromStorage
   optional_product_values)
 File 
"C:\Users\Juniqe\AppData\Local\Programs\Python\Python37\lib\site-packages\googleads\common.py",
 
line 189, in LoadFromString
   'Please replace the "dfp" key in the configuration YAML string with'
googleads.errors.GoogleAdsValueError: Please replace the "dfp" key in the 
configuration YAML string with"ad_manager" to fix this issue.


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
 File "Evergreen_script.py", line 415, in 
   r"C:\Users\Juniqe\Desktop\evergreen script\googleads.yaml")
 File 
"C:\Users\Juniqe\AppData\Local\Programs\Python\Python37\lib\site-packages\googleads\adwords.py",
 
line 243, in LoadFromStorage
   cls._OPTIONAL_INIT_VALUES))
 File 
"C:\Users\Juniqe\AppData\Local\Programs\Python\Python37\lib\site-packages\googleads\common.py",
 
line 292, in LoadFromStorage
   'Given yaml file, %s, could not find some keys. %s' % (path, e))
googleads.errors.GoogleAdsValueError: Given yaml file, 
C:\Users\Juniqe\Desktop\evergreen_script\googleads.yaml, could not find 
some keys. Please replace the "dfp" key in the configuration YAML string 
with"ad_manager" to fix this issue.
Adding ad_manager to the dfp key does not fix this and it actually should 
not matter at all.

I don't know why it even checks the dfp keys as in my script I call 
adwordsclient not dfpclient.
adwords_client = adwords.AdWordsClient.LoadFromStorage(
r"C:\Users\Juniqe\Desktop\evergreen_script\googleads.yaml")

We are using the latest version of googleads module and run it on Python 
3.7.0

Hopefully, someone has an idea how I can solve this.

Cheers,
Nils

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3da877a4-872d-4026-9d9c-9c6a7b76e577%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Policy Violation after Validation

2013-05-01 Thread Nils Hempel

Hallo Google AdWords Community,

I have a problem with the validation of my Ads and Keywords as well. I am 
sending an large ammount of Ads to the validation service and process the 
answers just like in the example. But when I afterwards send all the 
remaining operations to the mutateJobService I still get a lot of policy 
violation. Is this possible or must that be a bug of my code? I checked my 
code and even the soap logs but I can't find any errors?  Could it be that 
the AdGroupAd validation service and the MutateJobService works with a 
different set of policies?

I am working with AdWordsApi v.201302, PHP 5.4.7 , OS: Win 7, libxml 
Version 2.7.8

Regards,
Nils

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Unmarshalling Error: cvc-type.2 with MutationJobServic and PHP

2013-04-15 Thread Nils Hempel
Hi Paul,

thanks for your reply,

I am working with AdWordsApi v.201302, PHP 5.4.7 , OS: Win 7, libxml 
Version 2.7.8

I fought the whole day yesterday with this problem, and I think I found the 
reason, and a partial solution.

All my ads and keyword operations gets chunked, in bits of 5000 Operations 
per array. Afterwards they gets validated. It works fine with all arrays, 
which only contains exemptable operations.
But during the validation, just as in your example, there are some 
unexamptable Operations which got deleted, i. e. unseted from the 
operations array.  So the 5000 Indizes have missing values. And it might 
seams that this causes some trouble. So even if I had still 4994 Operations 
handed over to the mutate call, it creates this empty SOAP-ENV:Body :

SOAP-ENV:Body
ns1:mutate
ns1:operations/
ns1:policy/
/ns1:mutate
/SOAP-ENV:Body

Which of course is not valid, and might end in that unmarshaling error. But 
if I use* array_merge()* after unsetting operation indices, and hereby 
creating gapless indice values it works fine. So in conclusion the mutate 
process might have some problem with gaps in the indice values of the 
operation array. 

Can you confirm this? Is this behaviour intended, or is there another 
problem elsewhere?

Regards,
Nils


Am Mittwoch, 10. April 2013 11:30:10 UTC+2 schrieb Paul Matthews (AdWords 
API Team):

 Hi Nils,

 Thank you for reporting this, we are currently looking into the problem. 
 We've got a bug open with this 
 issuehttps://code.google.com/p/google-api-adwords-php/issues/detail?id=90in 
 the code site page that we'll be updating as soon as we have more 
 information.

 If you could add any of the following information to the 
 bughttps://code.google.com/p/google-api-adwords-php/issues/detail?id=90, 
 it'll help us to resolve the problem sooner:

- 
- Operating System (including version)
- PHP version
- libxm version (see: LIBXML predefined 
 constantshttp://www.php.net/manual/en/libxml.constants.php, 
specificially LIBXML_DOTTED_VERSION)
- API version
- Library version

 Regards,

 - Paul, AdWords API Team.

 On Friday, 5 April 2013 16:24:04 UTC+1, Nils Hempel wrote:


 Hi,

 I'm getting *Unmarshalling Error: cvc-type.2: The type definition 
 cannot be abstract for element ns1:operations*. while runing a couple 
 of BulkMutation via the MutationJobService. All in all I was trying to 
 upload 44000 TextAds and about 22 Keywords. The Operations were chunked 
 into 5000 Operations peer Job. Since I never have gotten that error with 
 smaller amounts of requests I was wondering if there is any 
 MutationJobService Limit I do not know. Unfortunately I don't have any SOAP 
 Logs, and as I sad, during smaller requests, that error didn't showed up, 
 so its hard to rebuild. If anyone has an idea where this come from, any 
 advice will be appreciated,

 Regards
 Nils



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.




Unmarshalling Error: cvc-type.2 with MutationJobServic and PHP

2013-04-08 Thread Nils Hempel

Hi,

I'm getting *Unmarshalling Error: cvc-type.2: The type definition cannot 
be abstract for element ns1:operations*. while runing a couple of 
BulkMutation via the MutationJobService. All in all I was trying to upload 
44000 TextAds and about 22 Keywords. The Operations were chunked into 
5000 Operations peer Job. Since I never have gotten that error with smaller 
amounts of requests I was wondering if there is any MutationJobService 
Limit I do not know. Unfortunately I don't have any SOAP Logs, and as I 
sad, during smaller requests, that error didn't showed up, so its hard to 
rebuild. If anyone has an idea where this come from, any advice will be 
appreciated,

Regards
Nils

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Problem with CostumerSyncService and AdGroupChangeData

2013-04-08 Thread Nils Hempel
Hi Anash,

thanks for your reply, I try to post a SOAP request on Monday, since I have 
the data not with me right now. 
Anyhow, I made some further progress with the CustomerSyncService. The 
error above seams to be a result of a wronge timezone setting. I resolved 
this by using the PHP date format (ymd his T) which worked until in germany 
and most other european countries as well switched the timesetting from 
winter to summertime and so the abbreviation from CET to CEST, what gave me 
an TIMEZONE error. So I changed the date format again to (ymd his O) which 
doesn't gave me any errors but also no results from the service, I know 
work with (ymd his e) which formats the timezone Europe/Berlin, this seams 
to work. Since I couldnt finde any clear recommendation which timezone 
format is best to use and the 3 char abbreviation doesn't work for europe 
due to the summertime, it was a bit of try and error, and I hope my 
settings will work, even if the timesettings will change again next winter. 
Furthermore I don't understand how long it takes, that changes made inside 
the account are visible for the syncService. I do recognized that if one 
make some changes, and then call immediately after that the service, the 
changes won't show up, but if one waits a little while they will. Is there 
a defined intervall between making some changes and getting them via the 
service? 

Cheers,
Nils

Am Montag, 1. April 2013 07:54:07 UTC+2 schrieb Anash P. Oommen (AdWords 
API Team):

 Hi Nils,

 Could you post a sanitized SOAP request and response xml that shows the 
 issue? I'll investigate this further.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Thursday, March 21, 2013 4:04:26 AM UTC+5:30, Nils Hempel wrote:

 Since my last question gots deleted for some reason, i retry it once, if 
 its a double post ignore the other one. 

 I have a problem with the CostumerSyncService using PHP. The return 
 value, does not contain the AdGroupChangeData array, also the Campaign 
 status remains on 'fields_unchanged' even so i changed for example the 
 headline of an ad. This change will be showen in the change log in the 
 AdWords Account it self, but it doesn't seams to have any effect on the api 
 calls. I'm using an test account, still the 201209 version, php and my code 
 is more or less a copy of the GetAccountChanges.php example included in the 
 API sources. Besides this i recognized that the lastChangesTimestamp 
 doesn't mark the last change, but the time of the last api call instead, in 
 my place this would be a get() call on the CampaignService for getting all 
 the campaign ids.

 I searched this forum and google for a solution or hint but couldn't find 
 any, so your help would be realy welcome.

 regards
 nils



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.




Problem with CostumerSyncService and AdGroupChangeData

2013-03-26 Thread Nils Hempel
Since my last question gots deleted for some reason, i retry it once, if 
its a double post ignore the other one. 

I have a problem with the CostumerSyncService using PHP. The return value, 
does not contain the AdGroupChangeData array, also the Campaign status 
remains on 'fields_unchanged' even so i changed for example the headline of 
an ad. This change will be showen in the change log in the AdWords Account 
it self, but it doesn't seams to have any effect on the api calls. I'm 
using an test account, still the 201209 version, php and my code is more or 
less a copy of the GetAccountChanges.php example included in the API 
sources. Besides this i recognized that the lastChangesTimestamp doesn't 
mark the last change, but the time of the last api call instead, in my 
place this would be a get() call on the CampaignService for getting all the 
campaign ids.

I searched this forum and google for a solution or hint but couldn't find 
any, so your help would be realy welcome.

regards
nils

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.




CustomerSyncService issue with getting changedAdGroups using PHP

2013-03-26 Thread Nils Hempel
Hello Folks,

i'm trying to develop an synchronisation feature for synchronising my 
adwords account and my local log tables. Therefor i use the 
CustomerSyncService, with which i encounter an issue. 
When i make some changes, like editing the headline of an ad, the status of 
the related campaign remains 'FIELDS_UNCHANGED' also the field 
'changedAdGroups' doesn't show up, i. e. it is not set. Is this behavior 
intended or am i doing something wrong. My Code is more or less a copy of 
the GetAccountChanges.php example. 

thanks for your help in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.