The more geo_target segments ( segments.geo_target_metro ) the less data I get

2022-04-26 Thread 'Bogdan Dumitrescu' via Google Ads API and AdWords API Forum
Hi all, 


Recently I started to convert some report and I have the feeling I am 
missing something basic  here is the issue I run into 

-1- the segmentation documentation it says that some segments could reduce 
the number of rows, but is not specific. 
 https://developers.google.com/google-ads/api/docs/reporting/segmentation

-2- I want ALL the records "with and without segments" meaning all records 
that have non NULL things "like segment.geo_target_metro" or do not have 
the geo_target_metro ( have NULL ) ) 

-3- to be specific , when I add segments.geo_target_metro, we only get the 
US and Japan, but with OUT geo_target_metro, we get many more countries

-4- This is the query, and literally I need to remove all 5 segments ( 
including segments.device) to be able to get all the rows with all the 
clicks for all accounts

Thoughts ? Thank you so much 


SELECT
metrics.average_cpc,
campaign.id,
ad_group.id,

*segments.geo_target_city,*metrics.clicks,
metrics.cost_micros,
geographic_view.country_criterion_id,

*segments.device,*customer.id,
metrics.impressions,



*segments.geo_target_metro,segments.geo_target_most_specific_location,segments.geo_target_region*FROM
 
geographic_view
WHERE metrics.impressions > 0 AND segments.date = '2022-03-31'

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3463d812-1fbe-46e7-8a58-64525d496529n%40googlegroups.com.


USER_PERMISSION_DENIED while creating a new campaing with php library

2022-02-22 Thread Bogdan Onyshenko
Hello all. I am trying to create a new campaing with google ads api php 
library. Basicly just changed a name of it. I created a developer token 
with manager account, test customer account, Oauth 2 token. While I tryed 
to create a new Campaing I get the following output on a console:

[2022-02-22T15:15:30.020005+03:00] google-ads.WARNING: Request made: Host: 
"googleads.googleapis.com", Method: 
"/google.ads.googleads.v10.services.CampaignBudgetService/MutateCampaignBudgets",
 
CustomerId: 9445807394, RequestId: "AlRf8rUAOGvZnQc5DJyQzQ", IsFault: 1, 
FaultMessage: "["User doesn't have permission to access customer. Note: If 
you're accessing a client customer, the manager's customer id must be set 
in the 'login-customer-id' header. See 
https:\/\/developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"]"
[2022-02-22T15:15:30.024408+03:00] google-ads.NOTICE: Request
---
Method Name: 
/google.ads.googleads.v10.services.CampaignBudgetService/MutateCampaignBudgets
Host: googleads.googleapis.com
Headers: {
"x-goog-api-client": "gl-php\/7.4.27 gccl\/14.0.0 gapic\/14.0.0 
gax\/1.11.4 grpc\/1.43.0 rest\/1.11.4",
"x-goog-request-params": "customer_id=9445807394",
"developer-token": "REDACTED",
"login-customer-id": "7082366600"
}
Request:
{"customerId":"9445807394","operations":[{"create":{"name":"Test Budget 
#2022-02-22T15:15:29.387+03:00","amountMicros":"50","deliveryMethod":"STANDARD"}}]}

Response
---
Headers: {
"request-id": "AlRf8rUAOGvZnQc5DJyQzQ",
"date": "Tue, 22 Feb 2022 12:15:28 GMT",
"alt-svc": "h3=\":443\"; ma=2592000,h3-29=\":443\"; 
ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; 
ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; 
v=\"46,43\""
}

Fault
---
Status code: 7
Details: The caller does not have permission
Failure: 
{"errors":[{"errorCode":{"authorizationError":"USER_PERMISSION_DENIED"},"message":"User
 
doesn't have permission to access customer. Note: If you're accessing a 
client customer, the manager's customer id must be set in the 
'login-customer-id' header. See 
https:\/\/developers.google.com\/google-ads\/api\/docs\/concepts\/call-structure#cid"}],"requestId":"AlRf8rUAOGvZnQc5DJyQzQ"}
Request with ID 'AlRf8rUAOGvZnQc5DJyQzQ' has failed.
Google Ads failure details:
authorization_error: User doesn't have permission to access 
customer. Note: If you're accessing a client customer, the manager's 
customer id must be set in the 'login-customer-id' header. See 
https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid

I tryed to remove login customer id but getting the operation is not 
permited for a current context. How Can I solve the problem?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2703f369-b588-476b-9e92-ecb28a2f2e6cn%40googlegroups.com.


Monthly Statsfrom adword api are larger then using keyword planner gui

2020-07-02 Thread Bogdan Onyshenko


I am trying to use an adword api to get some keyword statistics. But what I 
see is that with a same parameters my monthly search volue is about 7 mln 
searches. While adword keyword planner shows around 400-500. I can provide 
php code with parameters I am setting. Network settings:

$networkSetting = new NetworkSetting();
$networkSetting->setTargetGoogleSearch(true);
$networkSetting->setTargetSearchNetwork(false);
$networkSetting->setTargetContentNetwork(false);
$networkSetting->setTargetPartnerSearchNetwork(false);


Language is set to Russian following way:

 $languageParameter = new LanguageSearchParameter();
$english = new Language();
$english->setId(1031);
$languageParameter->setLanguages([$english]);
$searchParameters[] = $languageParameter;


Location is set to Ukraine:

$loc = array();
$location = new location();
$location->setId(2804); // Ukraine
$loc[]=$location;
$locationTargetParameter = new LocationSearchParameter();
$locationTargetParameter->setLocations($loc);
$searchParameters[] = $locationTargetParameter;


What am I missing

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/488c8be9-eeb6-4fb0-b4c1-4112cddbd056o%40googlegroups.com.


Can not create Shopping Goal Optimized Campaigns from API

2018-06-26 Thread Bogdan Padurariu
i All,

I am developing an app that handles marketing campaigns.

I already have implemented and tested Google Shopping Campaigns, an 
everything works fine. I am using PHP with the following PHP library 
https://github.com/googleads/googleads-php-lib

Now I am trying to implement the new Google Goal Optimized Shopping 
Campaign. I have everything set at an account level and I am able to create 
the goal optimized campaigns from the AdWords interface, but when trying to 
publish a campaign through the API, every time I get the same error. I 
tested my implementation with both v201802 and v201806 API versions.

<https://lh3.googleusercontent.com/-oJFq1G10raA/WzIX1W1Eq0I/CZ8/PDtS4zhzaGMxk68cFi0FBN2PsoFIaA-PQCLcBGAs/s1600/2018-06-25_1245.png>

Thank you in advance for any help,
Bogdan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b95dc270-121c-4475-a6c1-64f56be893cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


API stats don't match the ones in Adwords

2018-01-24 Thread Bogdan C
the statistics that we receive via the API do not match with the ones in 
the Adwords web interface for the following ranges:
Last_30, Last_14, Last_7, LAST_WEEK

Can anybody help diagnose the issue? I tried comparing to both last 30 days 
including today and last 30 days up to yesterday, but it's still not a 
match.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/84cf1b7f-1ab6-44bf-92d4-4f1235049295%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


AdGroupFeedService: [EntityNotFound.INVALID_ID @ operations[0].operand.feedId; trigger:'FeedId{id=*********}']

2016-11-14 Thread Bogdan Padurariu
When trying to create an AdGroupFeed using the PHP SDK, I get this 
error: EntityNotFound.INVALID_ID @ operations[0].operand.feedId; 
trigger:'FeedId{id=*}.
I have checked the FeedID and it exists. I also tried using different 
accounts.
Until recently everything worked fine.
This is my request:


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


***-***-
***
Test App (AwApi-PHP/10.0.0, Common-PHP/10.0.0, 
PHP/5.6.27)





ADD

*
***

IDENTITY(true)

ENABLED







Thanks,

Bogdan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9cebc157-5c42-4e15-8983-91dea9d8ba38%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Adowrds - ad extension -view location extansion - segment click type

2015-12-10 Thread Bogdan


Hello,

I need help in order to get the location information. I need the same 
information like in the below image:

<https://lh3.googleusercontent.com/-EIM16S47C6g/VmlRkLLAQEI/ABM/eNJeeZoPh-I/s1600/location.png>




I tried different reports including PLACEHOLDER_FEED_ITEM_REPORT, but I 
don't understand how I can get location information.

I also need to get the information for Call extensions and this one I was 
able to get it using PLACEHOLDER_FEED_ITEM_REPORT, from where I get the 
 FeedItemId and PlaceholderType fields. Then based on the FeedItemService I 
was able to associate each FeedItemId with the correct phone number.

I thing it should be something similar for locations but I could not find 
anything to help me in order to get that information.

By the way I'm using API version v201509 if this helps .

Anything that can help me is appreciated.

Thanks,
Bogdan

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/6fc8e291-febd-4ddb-b373-e19129a5aacc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


502 Bad gateway error

2013-08-21 Thread Andreea Bogdan
Hello,

During the last 4 days our adwords import failed twice (19th and 21st 
august) with the error:
*
*
*(502) Bad gateway. The server encountered a temporary error and could not 
complete your request. Please try again in 30 seconds.*
*
*
We are using v201302 of the api on a Java platform.

Has anyone else encountered the same issue? Was there a downtime that might 
have caused such a behavior?


Thanx, 
Andreea

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Radius targeting around a city - GeoLocationService vs CampaignCriterion Location

2013-02-20 Thread Bogdan S
Thanks Danial, 

The proximity criterion requires a geo point. For a geo point I need 
lat,long coordinates, which I can only get by using a GeoLocationService 
and passing in an Address. When I pass in an Address with only a 
City,CountryCode values, I get back a InvalidGeoLocation, meaning I need to 
also supply a street and/or postcode. 

So in other words, I can only do radius targeting around a city when I know 
the center point (geo point)  of that city, and for that I need to use 
other data sources, I can't do it by using solely the Ad Words Api. 

On your interface you are probably using the Google Maps Api to get the 
(lat/long) pair for a (City,CountrCode) pair.

Is there a way to get the center geo point of a (City,CountryCode) Address 
when using the GeoLocationService ? 

On Tuesday, February 19, 2013 10:20:14 AM UTC+1, Danial Klimkin wrote:

 Hello Bogdan,


 Please take a look at Proximity criterion:

   
 https://developers.google.com/adwords/api/docs/reference/latest/CampaignCriterionService.Proximity?hl=en


 -Danial, AdWords API Team.


 On Friday, February 15, 2013 7:33:42 PM UTC+4, Bogdan S wrote:

 Hi guys, 

 How can I achieve radius targeting around a city? When I use the 
 GeoLocationService I need a full address, but I only have the city name. 
 When I use Location criterion, I cannot specify a radius. From the web 
 interface this is possible. 

 Thank you



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.




Radius targeting around a city - GeoLocationService vs CampaignCriterion Location

2013-02-18 Thread Bogdan S
Hi guys, 

How can I achieve radius targeting around a city? When I use the 
GeoLocationService I need a full address, but I only have the city name. 
When I use Location criterion, I cannot specify a radius. From the web 
interface this is possible. 

Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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: Quality score insights

2012-12-18 Thread Bogdan S
Hi guys, 

Has this been made available through the API ( I've looked around and can't 
see it, just want to double check ) , is it on the roadmap? 

Thanks
Bogdan

On Tuesday, June 26, 2012 11:34:11 AM UTC+2, Anash P. Oommen wrote:

 Hi,

 These aren't available through the AdWords API right now.

 Cheers,
 Anash P. Oommen,
 AdWords API Advisor.

 On Saturday, 23 June 2012 18:43:29 UTC+5:30, Expand Online wrote:

 Dear community,

 Since some time the AdWords UI gives insights and ratings in three 
 aspects of the Quality Score rating on a keyword level (Expected 
 clickthrough rate, Ad relevance and Landing page experience). See also the 
 screenshot in the attachment (in the Dutch UI).
 My question is if these aspects/ratings are also obtainable through the 
 API?

 Thanks in advance for your reply
 Remy Bronkhorst



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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





Re: API developer token taking crazy long

2012-06-26 Thread bogdan
Hi Kevin.

We're waiting for 2 months already. Can you help?
Customer ID: 314-798-7512

Also it's not 100% clear from documentation - if we're going to use API 
token internally on just one site, are there any requirements for 
application?

Thank you

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Re: GetAllAdGroupCriteria.php returning incorrect data

2011-12-16 Thread Bogdan
Anash,

Thanks a lot for the sandbox account viewer, it's a real gem. I can see 
that there are keywords inserted in my adgroup, so the problem must be in 
the GetAllAdGroupCriteria.php file. I'm only using the standard example 
file found 
herehttp://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/GetAllAdGroupCriteria.php,
 
and I've entered both customerid and developer token in the auth.ini file..

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


GetAllAdGroupCriteria.php returning incorrect data

2011-12-14 Thread Bogdan
I've populated my sandbox API account using AddCampaign.php, 
AddAdGroups.php and PerformBulkMutateJob.php found in the 201109 folder 
files.
Now my account has 1 campaign, 2 AdGroups, several Ads and AdGroup 
Criterions. The problem is that when I run GetAllAdGroupCriteria.php I get 
`No ad group criteria were found.`
How can this be? I've seen that keywords and such were added after I 
ran PerformBulkMutateJob.php

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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


Adding an ad with AddAds.php

2011-10-27 Thread Bogdan
I downloaded the adwords api php SDK (v201101) for the purpose of
using AdParamService. Until I get to that step I have to populate the
sandbox account with Campaign, Adgroups, Ads and Keywords. I'm right
now stuck on adding ads.
When I run /AddAds.php I get the following error:
[AdError.MISSING_REQUIRED_TEMPLATE_FIELDS @
operations[2].operand.ad.templateElements[0].fields; trigger:'video']
I think it's because of this line:
$videoMediaId = (float) 'INSERT_VIDEO_MEDIA_ID_HERE';
What should I enter in as VIDEO_MEDIA_ID?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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